diff options
author | cyberta <cyberta@riseup.net> | 2022-11-29 14:01:05 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-11-30 14:19:39 +0100 |
commit | c2f6bc4e2098265fb1fc8f671dbdecbb5917c6fc (patch) | |
tree | 1a1889b6dceebce2e0d63283dd1116b9dc468271 /app/src/normal/res/drawable | |
parent | 0cf31d76c9f48cc73446b3fde478a46cd29c7594 (diff) |
new EipFragment layout for Bitmask - portrait
Diffstat (limited to 'app/src/normal/res/drawable')
-rw-r--r-- | app/src/normal/res/drawable/background_red.xml | 26 | ||||
-rw-r--r-- | app/src/normal/res/drawable/cust_button_primary_rect.xml | 79 |
2 files changed, 105 insertions, 0 deletions
diff --git a/app/src/normal/res/drawable/background_red.xml b/app/src/normal/res/drawable/background_red.xml new file mode 100644 index 00000000..0189357c --- /dev/null +++ b/app/src/normal/res/drawable/background_red.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" + + <item> + <shape android:shape="rectangle"> + <solid android:color="@color/bg_red_1"/> + <size android:width="200dp" android:height="250dp" /> + </shape> + </item> + <item + android:bottom="150dp" + + android:top="-100dp" + > + <shape android:shape="oval"> + <gradient + android:startColor="@color/bg_red_2" + android:endColor="@color/bg_red_3" + android:angle="270" + android:useLevel="false" + /> + <size android:width="200dp" android:height="250dp" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable/cust_button_primary_rect.xml b/app/src/normal/res/drawable/cust_button_primary_rect.xml new file mode 100644 index 00000000..74ddccb0 --- /dev/null +++ b/app/src/normal/res/drawable/cust_button_primary_rect.xml @@ -0,0 +1,79 @@ +<?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 |