Add ability to favorite/pin entries

This commit is contained in:
Michael Schättgen 2022-10-26 14:07:49 +02:00
parent c58b773878
commit 5ec1e33a31
17 changed files with 247 additions and 20 deletions

View file

@ -18,6 +18,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:id="@+id/favorite_indicator"
android:layout_width="15dp"
android:layout_height="match_parent"
android:layout_marginStart="-11dp"
android:backgroundTint="@color/colorFavorite"
android:background="@drawable/button_rounded_corners" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"

View file

@ -18,6 +18,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:id="@+id/favorite_indicator"
android:layout_width="15dp"
android:layout_height="match_parent"
android:layout_marginStart="-11dp"
android:backgroundTint="@color/colorFavorite"
android:background="@drawable/button_rounded_corners" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
@ -27,9 +35,8 @@
android:id="@+id/ivTextDrawable"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
/>
android:layout_centerVertical="true" />
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/ivSelected"

View file

@ -18,6 +18,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:id="@+id/favorite_indicator"
android:layout_width="15dp"
android:layout_height="match_parent"
android:layout_marginStart="-11dp"
android:backgroundTint="@color/colorFavorite"
android:background="@drawable/button_rounded_corners" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"