1:修改酒吧房小黑屋展示的金币余额视图
This commit is contained in:
24
BaseModule/src/main/res/drawable/rounded_left_corners.xml
Normal file
24
BaseModule/src/main/res/drawable/rounded_left_corners.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 设置渐变效果:100%黑色 -> 50%黑色 -> 13%黑色 -->
|
||||
<gradient
|
||||
android:startColor="#FF000000"
|
||||
android:centerColor="#40FFFFFF"
|
||||
android:endColor="#FF212121"
|
||||
android:angle="0" />
|
||||
|
||||
<!-- 设置白色边框 -->
|
||||
<!-- <stroke-->
|
||||
<!-- android:width="0.1dp"-->
|
||||
<!-- android:color="#FFFFFF" />-->
|
||||
|
||||
<!-- 设置圆角,只设置左上和左下 -->
|
||||
<corners
|
||||
android:topLeftRadius="@dimen/dp_100"
|
||||
android:bottomLeftRadius="@dimen/dp_100"
|
||||
android:topRightRadius="0dp"
|
||||
android:bottomRightRadius="0dp" />
|
||||
|
||||
</shape>
|
||||
Reference in New Issue
Block a user