diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-11-19 16:36:18 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-11-19 16:36:18 +0100 |
commit | 9588747edda50cd98374a599b47d4be60c562d59 (patch) | |
tree | 2a77340ec440b030524f28e0e1fcb98196ba94fb /core/src | |
parent | 7aff9dc3aac988fc697e9ec8d84b81e596b1a6ac (diff) | |
download | AntennaPod-9588747edda50cd98374a599b47d4be60c562d59.zip |
Widget wasn't working
Apparently, selectableItemBackground is not available in widget layouts
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/res/drawable/borderless_button_dark.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/src/main/res/drawable/borderless_button_dark.xml b/core/src/main/res/drawable/borderless_button_dark.xml new file mode 100644 index 000000000..6d263938d --- /dev/null +++ b/core/src/main/res/drawable/borderless_button_dark.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true"><shape android:shape="rectangle"> + <solid android:color="@color/selection_background_color_dark" /> + </shape></item> + <item android:state_focused="true"><shape android:shape="rectangle"> + <solid android:color="@color/selection_background_color_dark" /> + </shape></item> + <item><shape android:shape="rectangle"> + <solid android:color="@android:color/transparent" /> + </shape></item> + +</selector>
\ No newline at end of file |