summaryrefslogtreecommitdiff
path: root/app/src/normal/res/drawable
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-30 01:37:33 +0100
committercyberta <cyberta@riseup.net>2022-11-30 14:24:47 +0100
commitda824fa125a5583d07e8ac2f6585459956d87ac1 (patch)
tree14a07baeb8abfdb9f46a54559bd0e4730c3b4989 /app/src/normal/res/drawable
parentacdee8421bcdc39151457dea72686c4a31b5cdbb (diff)
rename drawables and colors according to the state they're representing
Diffstat (limited to 'app/src/normal/res/drawable')
-rw-r--r--app/src/normal/res/drawable/cust_button_primary_rect.xml79
1 files changed, 0 insertions, 79 deletions
diff --git a/app/src/normal/res/drawable/cust_button_primary_rect.xml b/app/src/normal/res/drawable/cust_button_primary_rect.xml
deleted file mode 100644
index 74ddccb0..00000000
--- a/app/src/normal/res/drawable/cust_button_primary_rect.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android" >
- <item android:state_pressed="true" >
- <layer-list
- android:paddingLeft="@dimen/button_bevel"
- android:paddingRight="@dimen/button_bevel">
- <item>
- <shape android:shape="rectangle">
- <solid android:color="@color/black_transparent"/>
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
- <item>
- <shape android:shape="rectangle">
- <solid android:color="@color/btn_white_transparent_dark"/>
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
- </layer-list>
- </item>
- <item android:state_focused="true">
- <layer-list
- android:paddingLeft="@dimen/button_bevel"
- android:paddingRight="@dimen/button_bevel">
- <item>
- <shape android:shape="rectangle" >
- <solid android:color="@color/black_transparent"/>
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
- <item>
- <shape android:shape="rectangle">
- <solid android:color="@color/btn_white_transparent_dark"/>
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
-
- </layer-list>
- </item>
- <item >
- <layer-list
- android:paddingLeft="@dimen/button_bevel"
- android:paddingRight="@dimen/button_bevel">
- <!-- shadow -->
- <item
- android:top="@dimen/button_bevel"
- android:left="1dp"
- >
- <shape android:shape="rectangle" >
- <corners android:radius="@dimen/stdpadding" />
- <solid android:color="@color/black_transparent"/>
- </shape>
- </item>
- <!-- fill -->
- <item
- android:bottom="@dimen/button_bevel"
- android:right="1dp"
- >
- <shape android:shape="rectangle" >
- <solid android:color="@color/btn_white_transparent"/>
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
- <!-- gradient -->
- <item
- android:bottom="@dimen/button_bevel"
- android:right="1dp"
- >
- <shape android:shape="rectangle">
- <gradient android:startColor="@color/btn_white_transparent_dark"
- android:endColor="@color/white_transparent"
- android:angle="90"
- />
- <corners android:radius="@dimen/stdpadding"/>
- </shape>
- </item>
- </layer-list>
- </item>
-</selector> \ No newline at end of file