Purrty layouts
This commit is contained in:
31
app/src/main/res/drawable/button_secondary.xml
Normal file
31
app/src/main/res/drawable/button_secondary.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<!-- set the shadow color here -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="@color/colorDropShadow" />
|
||||
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="0dp"
|
||||
android:right="0dp"
|
||||
android:top="0dp" />
|
||||
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!-- Background -->
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/colorWhite" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user