summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_follow.xml
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2022-05-23 17:13:59 +0200
committerThomas <tschneider.ac@gmail.com>2022-05-23 17:13:59 +0200
commitc80860c53aa40b5ffdc27e9251cc723238fa574d (patch)
tree4b873f5d0a541711af539f189e2bfcd32266994d /app/src/main/res/layout/drawer_follow.xml
parent6fb830aefea763a9e79c951fe5dc5ebc692bcdb0 (diff)
Fix issue #88 - Add icon indicators in notifications
Diffstat (limited to 'app/src/main/res/layout/drawer_follow.xml')
-rw-r--r--app/src/main/res/layout/drawer_follow.xml29
1 files changed, 23 insertions, 6 deletions
diff --git a/app/src/main/res/layout/drawer_follow.xml b/app/src/main/res/layout/drawer_follow.xml
index a27f0787b..97e123720 100644
--- a/app/src/main/res/layout/drawer_follow.xml
+++ b/app/src/main/res/layout/drawer_follow.xml
@@ -19,7 +19,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="12dp"
+ android:layout_margin="6dp"
app:cardElevation="2dp">
<androidx.appcompat.widget.LinearLayoutCompat
@@ -28,13 +28,30 @@
android:orientation="vertical"
android:padding="6dp">
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/title"
+ <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:ellipsize="middle"
- android:singleLine="true"
- tools:text="User asked to follow you" />
+ android:orientation="horizontal">
+
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/title"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:ellipsize="middle"
+ android:singleLine="true"
+ tools:text="User asked to follow you" />
+
+ <androidx.appcompat.widget.AppCompatImageView
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:layout_gravity="center"
+ android:layout_marginStart="5dp"
+ android:src="@drawable/ic_baseline_supervised_user_circle_24"
+ android:tint="@color/cyanea_accent_reference" />
+
+ </androidx.appcompat.widget.LinearLayoutCompat>
+
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"