parent
7ada4515aa
commit
4223f0bc5d
|
@ -302,31 +302,31 @@ data class LiveRoomDonationChat(
|
|||
itemBinding.root.setBackgroundResource(
|
||||
when {
|
||||
can >= 10000 -> {
|
||||
R.drawable.bg_round_corner_6_7_c25264
|
||||
R.drawable.bg_round_corner_6_7_ccc25264
|
||||
}
|
||||
|
||||
can >= 5000 -> {
|
||||
R.drawable.bg_round_corner_6_7_e6d85e37
|
||||
R.drawable.bg_round_corner_6_7_ccd85e37
|
||||
}
|
||||
|
||||
can >= 1000 -> {
|
||||
R.drawable.bg_round_corner_6_7_e6d38c38
|
||||
R.drawable.bg_round_corner_6_7_ccd38c38
|
||||
}
|
||||
|
||||
can >= 500 -> {
|
||||
R.drawable.bg_round_corner_6_7_e659548f
|
||||
R.drawable.bg_round_corner_6_7_cc59548f
|
||||
}
|
||||
|
||||
can >= 100 -> {
|
||||
R.drawable.bg_round_corner_6_7_e64d6aa4
|
||||
R.drawable.bg_round_corner_6_7_cc4d6aa4
|
||||
}
|
||||
|
||||
can >= 50 -> {
|
||||
R.drawable.bg_round_corner_6_7_e62d7390
|
||||
R.drawable.bg_round_corner_6_7_cc2d7390
|
||||
}
|
||||
|
||||
else -> {
|
||||
R.drawable.bg_round_corner_6_7_e6548f7d
|
||||
R.drawable.bg_round_corner_6_7_cc548f7d
|
||||
}
|
||||
}
|
||||
)
|
||||
|
@ -383,7 +383,7 @@ data class LiveRoomRouletteDonationChat(
|
|||
itemBinding.llMessageBg.setPadding(0)
|
||||
itemBinding.llMessageBg.background = null
|
||||
|
||||
itemBinding.root.setBackgroundResource(R.drawable.bg_round_corner_6_7_c25264)
|
||||
itemBinding.root.setBackgroundResource(R.drawable.bg_round_corner_6_7_ccc25264)
|
||||
itemBinding.root.setPadding(33)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_3d2a6c" />
|
||||
<solid android:color="@color/color_cc004462" />
|
||||
<corners android:radius="4.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_3d2a6c" />
|
||||
android:color="@color/color_cc004462" />
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e6548f7d" />
|
||||
<solid android:color="@color/color_cc2d7390" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e6548f7d" />
|
||||
android:color="@color/color_cc2d7390" />
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_c25264" />
|
||||
<solid android:color="@color/color_cc4d6aa4" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_c25264" />
|
||||
android:color="@color/color_cc4d6aa4" />
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e62d7390" />
|
||||
<solid android:color="@color/color_cc548f7d" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e62d7390" />
|
||||
android:color="@color/color_cc548f7d" />
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e64d6aa4" />
|
||||
<solid android:color="@color/color_cc59548f" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e64d6aa4" />
|
||||
android:color="@color/color_cc59548f" />
|
||||
</shape>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_ccc25264" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_ccc25264" />
|
||||
</shape>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_ccd38c38" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_ccd38c38" />
|
||||
</shape>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_ccd85e37" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_ccd85e37" />
|
||||
</shape>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e659548f" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e659548f" />
|
||||
</shape>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e6d38c38" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e6d38c38" />
|
||||
</shape>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_e6d85e37" />
|
||||
<corners android:radius="6.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_e6d85e37" />
|
||||
</shape>
|
|
@ -2,7 +2,7 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_round_corner_4_7_3d2a6c"
|
||||
android:background="@drawable/bg_round_corner_4_7_cc004462"
|
||||
android:gravity="center"
|
||||
android:paddingVertical="6.7dp">
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<color name="color_3d2a6c">#3D2A6C</color>
|
||||
<color name="color_ffdc00">#FFDC00</color>
|
||||
<color name="color_4999e3">#4999E3</color>
|
||||
<color name="color_c25264">#C25264</color>
|
||||
<color name="color_ccc25264">#CCC25264</color>
|
||||
|
||||
<color name="color_b3909090">#B3909090</color>
|
||||
<color name="color_88909090">#88909090</color>
|
||||
|
@ -46,12 +46,12 @@
|
|||
<color name="color_99525252">#99525252</color>
|
||||
<color name="color_cc555555">#CC555555</color>
|
||||
<color name="color_999970ff">#999970ff</color>
|
||||
<color name="color_e6548f7d">#E6548F7D</color>
|
||||
<color name="color_e62d7390">#E62D7390</color>
|
||||
<color name="color_e64d6aa4">#E64D6AA4</color>
|
||||
<color name="color_e659548f">#E659548F</color>
|
||||
<color name="color_e6d38c38">#E6D38C38</color>
|
||||
<color name="color_e6d85e37">#E6D85E37</color>
|
||||
<color name="color_cc548f7d">#CC548F7D</color>
|
||||
<color name="color_cc2d7390">#CC2D7390</color>
|
||||
<color name="color_cc4d6aa4">#CC4D6AA4</color>
|
||||
<color name="color_cc59548f">#CC59548F</color>
|
||||
<color name="color_ccd38c38">#CCD38C38</color>
|
||||
<color name="color_ccd85e37">#CCD85E37</color>
|
||||
<color name="color_33ffffff">#33FFFFFF</color>
|
||||
<color name="color_303030">#303030</color>
|
||||
<color name="color_555555">#555555</color>
|
||||
|
@ -107,4 +107,5 @@
|
|||
<color name="color_003851">#003851</color>
|
||||
<color name="color_553bb9f1">#553bb9f1</color>
|
||||
<color name="color_ea3a25">#EA3A25</color>
|
||||
<color name="color_cc004462">#CC004462</color>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue