Signed-off-by: chenjuntao <chenjuntao@ghzhushou.com>
This commit is contained in:
chenjuntao
2023-12-06 11:53:25 +08:00
parent 3912729fff
commit 7aa2b20224
8 changed files with 4 additions and 1 deletions

View File

@ -1224,9 +1224,12 @@ class GameDetailFragment : ToolbarFragment(), IScrollable {
mBodyBinding.recommendAgeIv.goneIf(recommendAge.isNullOrEmpty())
if (!recommendAge.isNullOrEmpty()) {
val recommendAgeRes = when (recommendAge) {
"6+" -> R.drawable.ic_recommend_age6
"8+" -> R.drawable.ic_recommend_age8
"12+" -> R.drawable.ic_recommend_age12
"16+" -> R.drawable.ic_recommend_age16
"18+" -> R.drawable.ic_recommend_age18
"21+" -> R.drawable.ic_recommend_age21
else -> -1
}
if (recommendAgeRes > 0) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -143,7 +143,7 @@
<ImageView
android:id="@+id/recommendAgeIv"
android:layout_width="76dp"
android:layout_width="58dp"
android:layout_height="14dp"
android:layout_marginLeft="8dp"
android:visibility="gone"