This commit is contained in:
22
libaes/src/main/res/drawable/pressed_shape.xml
Normal file
22
libaes/src/main/res/drawable/pressed_shape.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<!-- 颜色填充方式绘画按钮 -->
|
||||
<solid android:color="?attr/colorPrimaryDark" />
|
||||
<!-- 边框 -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="?attr/colorPrimaryDark" />
|
||||
<!-- 定义成圆角的 -->
|
||||
<corners android:radius="15dp" />
|
||||
|
||||
<!-- 颜色线性渐变方式绘画按钮 -->
|
||||
<!--<gradient
|
||||
android:angle="270"
|
||||
android:startColor="?attr/colorAccent"
|
||||
android:centerColor="?attr/colorPrimary"
|
||||
android:endColor="?attr/colorPrimaryDark"/>
|
||||
-->
|
||||
|
||||
</shape>
|
||||
Reference in New Issue
Block a user