diff options
author | bws9000 <armorsoft@gmail.com> | 2020-06-27 10:24:26 -0400 |
---|---|---|
committer | bws9000 <armorsoft@gmail.com> | 2020-06-27 10:24:26 -0400 |
commit | a4ce162491cb93535ee1a03d526c8d1228d58fd2 (patch) | |
tree | 763333c7de70948b8f452d23342997bce16c8095 /core/src/main/res/drawable | |
parent | 7de9e0d4c1807bff054c1aef999fc600088ab521 (diff) | |
download | AntennaPod-a4ce162491cb93535ee1a03d526c8d1228d58fd2.zip |
Redesign filter dialog
Diffstat (limited to 'core/src/main/res/drawable')
5 files changed, 75 insertions, 3 deletions
diff --git a/core/src/main/res/drawable/filter_dialog_button_background_light.xml b/core/src/main/res/drawable/filter_dialog_button_background_light.xml new file mode 100644 index 000000000..c3a1b385e --- /dev/null +++ b/core/src/main/res/drawable/filter_dialog_button_background_light.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@color/accent_light" android:state_checked="true" /> + <item android:drawable="@color/master_switch_background_light" /> +</selector>
\ No newline at end of file diff --git a/core/src/main/res/drawable/filter_dialog_button_clear.xml b/core/src/main/res/drawable/filter_dialog_button_clear.xml new file mode 100644 index 000000000..33e3888b9 --- /dev/null +++ b/core/src/main/res/drawable/filter_dialog_button_clear.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/ic_filter_close_dark" android:state_checked="true" /> + <item android:drawable="@drawable/ic_filter_close_light" /> +</selector>
\ No newline at end of file diff --git a/core/src/main/res/drawable/filter_dialog_button_text_light.xml b/core/src/main/res/drawable/filter_dialog_button_text_light.xml new file mode 100644 index 000000000..4d75670b7 --- /dev/null +++ b/core/src/main/res/drawable/filter_dialog_button_text_light.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:color="@color/white" android:state_checked="true" /> + <item android:color="@color/black" /> +</selector>
\ No newline at end of file diff --git a/core/src/main/res/drawable/ic_filter_close_dark.xml b/core/src/main/res/drawable/ic_filter_close_dark.xml new file mode 100644 index 000000000..b25b42df3 --- /dev/null +++ b/core/src/main/res/drawable/ic_filter_close_dark.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item + android:bottom="5dp" + android:left="5dp" + android:right="5dp" + android:top="5dp"> + + <shape android:shape="oval"> + <stroke + android:width="4dp" + android:color="@color/grey" /> + </shape> + + </item> + + <!-- x --> + <item + android:bottom="12dp" + android:left="12dp" + android:right="12dp" + android:top="12dp"> + <rotate + android:fromDegrees="135" + android:pivotX="50%" + android:pivotY="50%" + android:toDegrees="135"> + <shape android:shape="line"> + <stroke + android:width="4dp" + android:color="@color/grey" /> + </shape> + </rotate> + </item> + + <item + android:bottom="12dp" + android:left="12dp" + android:right="12dp" + android:top="12dp"> + <rotate + android:fromDegrees="45" + android:pivotX="50%" + android:pivotY="50%" + android:toDegrees="45"> + <shape android:shape="line"> + <stroke + android:width="4dp" + android:color="@color/grey" /> + </shape> + + </rotate> + </item> + +</layer-list>
\ No newline at end of file diff --git a/core/src/main/res/drawable/ic_filter_close_light.xml b/core/src/main/res/drawable/ic_filter_close_light.xml index 1d695cd0f..003b82834 100644 --- a/core/src/main/res/drawable/ic_filter_close_light.xml +++ b/core/src/main/res/drawable/ic_filter_close_light.xml @@ -10,7 +10,7 @@ <shape android:shape="oval"> <stroke android:width="4dp" - android:color="@color/filter_dialog_button_clear" /> + android:color="@color/master_switch_background_light" /> </shape> </item> @@ -28,7 +28,7 @@ <shape android:shape="line"> <stroke android:width="4dp" - android:color="@color/filter_dialog_button_clear" /> + android:color="@color/master_switch_background_light" /> </shape> </rotate> </item> @@ -46,8 +46,9 @@ <shape android:shape="line"> <stroke android:width="4dp" - android:color="@color/filter_dialog_button_clear" /> + android:color="@color/master_switch_background_light" /> </shape> + </rotate> </item> |