fix:贵族中心适配英文:微调部分字体大小、文案 、图标
This commit is contained in:
@@ -211,7 +211,7 @@ class VipMainActivity : BaseViewBindingActivity<ActivityVipMainBinding>(),
|
||||
}
|
||||
}
|
||||
|
||||
binding.tvOpenVip.setOnClickListener {
|
||||
binding.layoutOpenVip.setOnClickListener {
|
||||
checkBuyVip {
|
||||
buyVip()
|
||||
}
|
||||
@@ -521,15 +521,15 @@ class VipMainActivity : BaseViewBindingActivity<ActivityVipMainBinding>(),
|
||||
currentVipInfo.vipName
|
||||
)
|
||||
}"
|
||||
binding.tvOpenVip.isVisible = true
|
||||
binding.layoutOpenVip.isVisible = true
|
||||
} else {
|
||||
binding.tvOpenVip.isVisible = false
|
||||
binding.layoutOpenVip.isVisible = false
|
||||
}
|
||||
} else {
|
||||
currentChargeInfo = null
|
||||
binding.tvOpenVip.isVisible = false
|
||||
binding.layoutOpenVip.isVisible = false
|
||||
}
|
||||
if (binding.tvOpenVip.isVisible && binding.layoutLevelProgress.isVisible) {
|
||||
if (binding.layoutOpenVip.isVisible && binding.layoutLevelProgress.isVisible) {
|
||||
binding.layoutBottomPanel.setBackgroundDrawable(binding.layoutLevelProgress.background)
|
||||
} else {
|
||||
binding.layoutBottomPanel.setBackgroundDrawable(null)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.0 KiB |
BIN
app/src/main/res/drawable-xxhdpi/bg_vip_my_level.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/bg_vip_my_level.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_vip_auth_text.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_vip_auth_text.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 10 KiB |
@@ -4294,7 +4294,7 @@
|
||||
<string name="layout_activity_vip_main_04">Current Level</string>
|
||||
<string name="layout_activity_vip_main_05">Vip1</string>
|
||||
<string name="layout_activity_vip_main_06">Remainder:</string>
|
||||
<string name="layout_activity_vip_main_07">Power Value Can Upgrade To</string>
|
||||
<string name="layout_activity_vip_main_07"> Can Upgrade To </string>
|
||||
<string name="layout_activity_vip_main_08">Vip2</string>
|
||||
<string name="layout_activity_vip_main_09">Reached Highest Usable VIP Level</string>
|
||||
<string name="layout_activity_vip_main_010">Remaining Time:</string>
|
||||
|
@@ -428,10 +428,9 @@
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:text="@string/layout_activity_vip_main_04"
|
||||
android:textColor="#ffbc9e66"
|
||||
android:textSize="@dimen/sp_10" />
|
||||
android:textSize="@dimen/sp_9" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_curr_level_name"
|
||||
@@ -439,7 +438,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="2dp"
|
||||
android:textColor="#ffffe3af"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textSize="@dimen/sp_10"
|
||||
tools:text="@string/layout_activity_vip_main_05" />
|
||||
|
||||
<LinearLayout
|
||||
@@ -451,17 +450,17 @@
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:text="@string/layout_activity_vip_main_06"
|
||||
android:textColor="#ffbc9e66"
|
||||
android:textSize="@dimen/sp_10" />
|
||||
android:textSize="@dimen/sp_9" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_upgrade_value"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#ffffe3af"
|
||||
android:textSize="@dimen/sp_13"
|
||||
android:textSize="@dimen/sp_10"
|
||||
tools:text="4562" />
|
||||
|
||||
|
||||
@@ -470,7 +469,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/layout_activity_vip_main_07"
|
||||
android:textColor="#ffbc9e66"
|
||||
android:textSize="@dimen/sp_10" />
|
||||
android:textSize="@dimen/sp_9" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_next_level_name"
|
||||
@@ -489,7 +488,7 @@
|
||||
android:layout_marginStart="15dp"
|
||||
android:text="@string/layout_activity_vip_main_09"
|
||||
android:textColor="#ffbc9e66"
|
||||
android:textSize="@dimen/sp_10" />
|
||||
android:textSize="@dimen/sp_9" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
@@ -498,14 +497,14 @@
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="@string/layout_activity_vip_main_010"
|
||||
android:textColor="#ffbc9e66"
|
||||
android:textSize="@dimen/sp_10" />
|
||||
android:textSize="@dimen/sp_9" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_residue_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#ffffe3af"
|
||||
android:textSize="@dimen/sp_13"
|
||||
android:textSize="@dimen/sp_10"
|
||||
tools:text="@string/layout_activity_vip_main_011" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
@@ -513,7 +512,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginStart="3dp"
|
||||
android:src="@drawable/ic_vip_time_help" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -602,23 +601,33 @@
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<com.chwl.library.widget.DrawableCenterTextView
|
||||
android:id="@+id/tv_open_vip"
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_open_vip"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:background="@drawable/bg_vip_open_btn"
|
||||
android:drawableStart="@drawable/ic_vip_open_btn"
|
||||
android:drawablePadding="3dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:text="@string/layout_activity_vip_main_03" />
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_vip_open_btn" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_open_vip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="3dp"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_13"
|
||||
android:textStyle="bold"
|
||||
tools:text="19.99 Purchase VIP$ level privileges" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Reference in New Issue
Block a user