version:1.0.0
fix: update:增加autosize
This commit is contained in:
@@ -9,17 +9,17 @@
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners
|
||||
android:bottomLeftRadius="@dimen/dp_16"
|
||||
android:bottomRightRadius="@dimen/dp_16"
|
||||
android:topLeftRadius="@dimen/dp_16"
|
||||
android:topRightRadius="@dimen/dp_16" />
|
||||
android:bottomLeftRadius="16dp"
|
||||
android:bottomRightRadius="16dp"
|
||||
android:topLeftRadius="16dp"
|
||||
android:topRightRadius="16dp" />
|
||||
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:bottom="@dimen/dp_2"
|
||||
android:left="@dimen/dp_8"
|
||||
android:right="@dimen/dp_8"
|
||||
android:top="@dimen/dp_2" />
|
||||
android:bottom="2dp"
|
||||
android:left="8dp"
|
||||
android:right="8dp"
|
||||
android:top="2dp" />
|
||||
|
||||
</shape>
|
||||
Reference in New Issue
Block a user