Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/drawable-v21/grid_item_background_selector.xml')
-rw-r--r--app/src/main/res/drawable-v21/grid_item_background_selector.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/drawable-v21/grid_item_background_selector.xml b/app/src/main/res/drawable-v21/grid_item_background_selector.xml
new file mode 100644
index 00000000..37de2a6f
--- /dev/null
+++ b/app/src/main/res/drawable-v21/grid_item_background_selector.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items -->
+<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted">
+ <!-- :selected -->
+ <item>
+ <selector>
+ <item android:state_selected="true">
+ <color android:color="@color/bg_highlighted" />
+ </item>
+
+ <item android:state_activated="true">
+ <color android:color="@color/bg_highlighted" />
+ </item>
+
+ <item>
+ <color android:color="@android:color/transparent" />
+ </item>
+ </selector>
+ </item>
+</ripple> \ No newline at end of file