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

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-04-23 20:00:59 +0300
committerNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2020-04-24 15:12:11 +0300
commit2859cbcf0067182a0bdc6edde15fa0b648ba852c (patch)
tree799557948335a12270143f44230cc7885593466d /app/src/main/res/drawable
parent547ff69eb5b62f2cbc2db6c4a5c70a0d1892ff02 (diff)
#396 Filter cards
RecyclerView with selection - working draft
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/selected.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/selected.xml b/app/src/main/res/drawable/selected.xml
new file mode 100644
index 000000000..cc62aec0d
--- /dev/null
+++ b/app/src/main/res/drawable/selected.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:enterFadeDuration="@android:integer/config_shortAnimTime" android:state_activated="true">
+ <layer-list>
+ <item>
+ <shape android:shape="oval">
+ <solid android:color="@android:color/holo_green_light" />
+ <stroke android:width="1dp" android:color="@android:color/white" />
+ </shape>
+ </item>
+ <item android:drawable="@drawable/circle_alpha_check_36dp" />
+ </layer-list>
+ </item>
+</selector> \ No newline at end of file