登录注册图标优化

This commit is contained in:
2026-06-08 11:58:40 +08:00
parent 5cafd2ac1d
commit 11ab4e244d
105 changed files with 31 additions and 31 deletions

View File

@@ -22,7 +22,7 @@
android:allowBackup="true" android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules" android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules" android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/loge" android:icon="@mipmap/logo"
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"

View File

@@ -64,7 +64,7 @@ class FamilyAdapter(
binding.tvFamilyName.setTextColor(binding.root.context.getColor(R.color.white)) binding.tvFamilyName.setTextColor(binding.root.context.getColor(R.color.white))
binding.tvFamilyRole.setTextColor(binding.root.context.getColor(R.color.white)) binding.tvFamilyRole.setTextColor(binding.root.context.getColor(R.color.white))
binding.ivCheck.visibility = View.VISIBLE binding.ivCheck.visibility = View.VISIBLE
binding.ivCheck.setImageResource(R.drawable.ic_check_white) binding.ivCheck.setImageResource(R.mipmap.ic_check_white)
} else { } else {
binding.layoutFamilyItem.setBackgroundResource(0) binding.layoutFamilyItem.setBackgroundResource(0)
binding.tvFamilyName.setTextColor(binding.root.context.getColor(R.color.black)) binding.tvFamilyName.setTextColor(binding.root.context.getColor(R.color.black))

View File

@@ -37,10 +37,10 @@ class HomeActivity : BaseActivity() {
binding.tabHome.setOnClickListener { binding.tabHome.setOnClickListener {
switchFragment(homeMenuFragment) switchFragment(homeMenuFragment)
// 切换图标 + 文字颜色 // 切换图标 + 文字颜色
binding.ivHome.setImageResource(R.drawable.home_checked) binding.ivHome.setImageResource(R.mipmap.home_checked)
binding.tvHome.setTextColor(resources.getColor(R.color.ic_selected)) binding.tvHome.setTextColor(resources.getColor(R.color.ic_selected))
binding.ivProfile.setImageResource(R.drawable.profile) binding.ivProfile.setImageResource(R.mipmap.profile)
binding.tvProfile.setTextColor(resources.getColor(R.color.ic_normal)) binding.tvProfile.setTextColor(resources.getColor(R.color.ic_normal))
} }
@@ -48,10 +48,10 @@ class HomeActivity : BaseActivity() {
binding.tabProfile.setOnClickListener { binding.tabProfile.setOnClickListener {
switchFragment(personalFragment) switchFragment(personalFragment)
// 切换图标 + 文字颜色 // 切换图标 + 文字颜色
binding.ivHome.setImageResource(R.drawable.home) binding.ivHome.setImageResource(R.mipmap.home)
binding.tvHome.setTextColor(resources.getColor(R.color.ic_normal)) binding.tvHome.setTextColor(resources.getColor(R.color.ic_normal))
binding.ivProfile.setImageResource(R.drawable.profile_checked) binding.ivProfile.setImageResource(R.mipmap.profile_checked)
binding.tvProfile.setTextColor(resources.getColor(R.color.ic_selected)) binding.tvProfile.setTextColor(resources.getColor(R.color.ic_selected))
} }
} }

View File

@@ -232,7 +232,7 @@ class InvitationCodeActivity : AppCompatActivity() {
} }
} }
val logoDrawable = ContextCompat.getDrawable(this, R.mipmap.loge) val logoDrawable = ContextCompat.getDrawable(this, R.mipmap.logo)
if (logoDrawable != null) { if (logoDrawable != null) {
val logoSize = width / 5 val logoSize = width / 5
val logoX = (width - logoSize) / 2 val logoX = (width - logoSize) / 2

View File

@@ -12,7 +12,7 @@
android:id="@+id/logoFrame" android:id="@+id/logoFrame"
android:layout_width="80dp" android:layout_width="80dp"
android:layout_height="80dp" android:layout_height="80dp"
android:src="@mipmap/loge" android:src="@mipmap/logo"
android:contentDescription="Logo" android:contentDescription="Logo"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View File

@@ -70,7 +70,7 @@
android:id="@+id/safeIcon" android:id="@+id/safeIcon"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:src="@drawable/safe" android:src="@mipmap/safe"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent" />
@@ -96,7 +96,7 @@
android:id="@+id/cardFaceIcon" android:id="@+id/cardFaceIcon"
android:layout_width="150dp" android:layout_width="150dp"
android:layout_height="150dp" android:layout_height="150dp"
android:src="@drawable/face_verification" android:src="@mipmap/face_verification"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/topSubContainer" /> app:layout_constraintTop_toBottomOf="@id/topSubContainer" />
@@ -138,7 +138,7 @@
<ImageView <ImageView
android:layout_width="59dp" android:layout_width="59dp"
android:layout_height="59dp" android:layout_height="59dp"
android:src="@drawable/mask_group"/> android:src="@mipmap/mask_group"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@@ -149,7 +149,7 @@
<ImageView <ImageView
android:layout_width="15dp" android:layout_width="15dp"
android:layout_height="15dp" android:layout_height="15dp"
android:src="@drawable/common_icons_miniprogram2"/> android:src="@mipmap/common_icons_miniprogram2"/>
<TextView <TextView
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -175,7 +175,7 @@
<ImageView <ImageView
android:layout_width="59dp" android:layout_width="59dp"
android:layout_height="59dp" android:layout_height="59dp"
android:src="@drawable/standard_capture"/> android:src="@mipmap/standard_capture"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@@ -186,7 +186,7 @@
<ImageView <ImageView
android:layout_width="15dp" android:layout_width="15dp"
android:layout_height="15dp" android:layout_height="15dp"
android:src="@drawable/common_icons_miniprogram1"/> android:src="@mipmap/common_icons_miniprogram1"/>
<TextView <TextView
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -212,7 +212,7 @@
<ImageView <ImageView
android:layout_width="59dp" android:layout_width="59dp"
android:layout_height="59dp" android:layout_height="59dp"
android:src="@drawable/cropped_shot"/> android:src="@mipmap/cropped_shot"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@@ -223,7 +223,7 @@
<ImageView <ImageView
android:layout_width="15dp" android:layout_width="15dp"
android:layout_height="15dp" android:layout_height="15dp"
android:src="@drawable/common_icons_miniprogram1"/> android:src="@mipmap/common_icons_miniprogram1"/>
<TextView <TextView
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -249,7 +249,7 @@
<ImageView <ImageView
android:layout_width="59dp" android:layout_width="59dp"
android:layout_height="59dp" android:layout_height="59dp"
android:src="@drawable/low_light"/> android:src="@mipmap/low_light"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@@ -260,7 +260,7 @@
<ImageView <ImageView
android:layout_width="15dp" android:layout_width="15dp"
android:layout_height="15dp" android:layout_height="15dp"
android:src="@drawable/common_icons_miniprogram1"/> android:src="@mipmap/common_icons_miniprogram1"/>
<TextView <TextView
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -37,7 +37,7 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:contentDescription="@null" android:contentDescription="@null"
android:src="@drawable/back" android:src="@mipmap/back"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
@@ -69,8 +69,8 @@
app:layout_constraintStart_toStartOf="parent"> app:layout_constraintStart_toStartOf="parent">
<ImageView <ImageView
android:layout_width="12dp" android:layout_width="wrap_content"
android:layout_height="12dp" android:layout_height="wrap_content"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:contentDescription="@null" android:contentDescription="@null"
android:src="@drawable/ic_red_dot" /> android:src="@drawable/ic_red_dot" />

View File

@@ -39,7 +39,7 @@
android:id="@+id/iv_home" android:id="@+id/iv_home"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:src="@drawable/home_checked"/> android:src="@mipmap/home_checked"/>
<TextView <TextView
android:id="@+id/tv_home" android:id="@+id/tv_home"
@@ -64,7 +64,7 @@
android:id="@+id/iv_profile" android:id="@+id/iv_profile"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:src="@drawable/profile"/> android:src="@mipmap/profile"/>
<TextView <TextView
android:id="@+id/tv_profile" android:id="@+id/tv_profile"

View File

@@ -51,7 +51,7 @@
android:layout_width="12dp" android:layout_width="12dp"
android:layout_height="6dp" android:layout_height="6dp"
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:src="@drawable/triangle" /> android:src="@mipmap/triangle" />
</LinearLayout> </LinearLayout>
<TextView <TextView
@@ -76,7 +76,7 @@
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:src="@drawable/message"/> android:src="@mipmap/message"/>
<TextView <TextView
android:id="@+id/tvUnreadCount" android:id="@+id/tvUnreadCount"
@@ -103,7 +103,7 @@
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:src="@drawable/scan_icon"/> android:src="@mipmap/scan_icon"/>
</FrameLayout> </FrameLayout>
<FrameLayout <FrameLayout
@@ -116,7 +116,7 @@
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:src="@drawable/add"/> android:src="@mipmap/add"/>
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
@@ -165,7 +165,7 @@
<ImageView <ImageView
android:layout_width="244dp" android:layout_width="244dp"
android:layout_height="131dp" android:layout_height="131dp"
android:src="@drawable/default_page" /> android:src="@mipmap/default_page" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@@ -114,7 +114,7 @@
android:layout_width="40dp" android:layout_width="40dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/loge" /> android:src="@mipmap/logo" />
</FrameLayout> </FrameLayout>
<!-- 使用智能文字和图标 --> <!-- 使用智能文字和图标 -->
<LinearLayout <LinearLayout

View File

@@ -25,7 +25,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/go_up" /> android:src="@mipmap/go_up" />
</LinearLayout> </LinearLayout>
<TextView <TextView

View File

@@ -62,7 +62,7 @@ tools:context=".login.RegisterSuccessActivity">
android:id="@+id/cardFaceIcon" android:id="@+id/cardFaceIcon"
android:layout_width="110dp" android:layout_width="110dp"
android:layout_height="110dp" android:layout_height="110dp"
android:src="@drawable/success" android:src="@mipmap/success"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvRegisterSubtitle" /> app:layout_constraintTop_toBottomOf="@id/tvRegisterSubtitle" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Some files were not shown because too many files have changed in this diff Show More