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:
authorStefan Niedermann <info@niedermann.it>2020-06-05 21:57:47 +0300
committerStefan Niedermann <info@niedermann.it>2020-06-05 21:57:47 +0300
commitd4f59694b507b3ef5204a8a810325c4930d9edab (patch)
tree4bbf2ae8b9ea745bf50ad083983f23c475f3dee8 /app/src/main
parent62405ecfd3efa1b4cc1e8ac2aa612358b2797c34 (diff)
Add ripple effect to favorite icon
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_notes_list_note_item.xml b/app/src/main/res/layout/item_notes_list_note_item.xml
index 61ad02fc..92e924d7 100644
--- a/app/src/main/res/layout/item_notes_list_note_item.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item.xml
@@ -40,11 +40,12 @@
<ImageView
android:id="@+id/noteFavorite"
- android:contentDescription="@string/menu_favorite"
- android:padding="16dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- tools:src="@drawable/ic_star_yellow_24dp"/>
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/menu_favorite"
+ android:padding="@dimen/spacer_2x"
+ tools:src="@drawable/ic_star_yellow_24dp" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/noteStatus"