From ba2c4f1fc4a2da8c8dc2ca996108f417a0811221 Mon Sep 17 00:00:00 2001
From: 0xd9a <0xd9a@noreply.codeberg.org>
Date: Fri, 8 Jul 2022 23:46:14 +0530
Subject: [PATCH] Update 'fetch more' drawer
---
...4.xml => ic_fetch_more_arrow_downward.xml} | 2 +-
..._24.xml => ic_fetch_more_arrow_upward.xml} | 2 +-
app/src/main/res/layout/drawer_fetch_more.xml | 32 ++++++++++++-------
3 files changed, 22 insertions(+), 14 deletions(-)
rename app/src/main/res/drawable/{ic_baseline_arrow_circle_down_24.xml => ic_fetch_more_arrow_downward.xml} (55%)
rename app/src/main/res/drawable/{ic_baseline_arrow_circle_up_24.xml => ic_fetch_more_arrow_upward.xml} (54%)
diff --git a/app/src/main/res/drawable/ic_baseline_arrow_circle_down_24.xml b/app/src/main/res/drawable/ic_fetch_more_arrow_downward.xml
similarity index 55%
rename from app/src/main/res/drawable/ic_baseline_arrow_circle_down_24.xml
rename to app/src/main/res/drawable/ic_fetch_more_arrow_downward.xml
index 11924167..2a93c310 100644
--- a/app/src/main/res/drawable/ic_baseline_arrow_circle_down_24.xml
+++ b/app/src/main/res/drawable/ic_fetch_more_arrow_downward.xml
@@ -6,5 +6,5 @@
android:viewportHeight="24">
+ android:pathData="M20,8l-1.41,-1.41L13,12.17V0h-2v12.17l-5.58,-5.59L4,8l8,8 8,-8z" />
diff --git a/app/src/main/res/drawable/ic_baseline_arrow_circle_up_24.xml b/app/src/main/res/drawable/ic_fetch_more_arrow_upward.xml
similarity index 54%
rename from app/src/main/res/drawable/ic_baseline_arrow_circle_up_24.xml
rename to app/src/main/res/drawable/ic_fetch_more_arrow_upward.xml
index 7634b238..46c34a0d 100644
--- a/app/src/main/res/drawable/ic_baseline_arrow_circle_up_24.xml
+++ b/app/src/main/res/drawable/ic_fetch_more_arrow_upward.xml
@@ -6,5 +6,5 @@
android:viewportHeight="24">
+ android:pathData="M4,16l1.41,1.41L11,11.83V24h2V11.83l5.58,5.59L20,16l-8,-8 -8,8z" />
diff --git a/app/src/main/res/layout/drawer_fetch_more.xml b/app/src/main/res/layout/drawer_fetch_more.xml
index a3ba2be2..2f20a5d2 100644
--- a/app/src/main/res/layout/drawer_fetch_more.xml
+++ b/app/src/main/res/layout/drawer_fetch_more.xml
@@ -1,36 +1,44 @@
+ android:paddingHorizontal="6dp">
-
+ android:layout_marginHorizontal="6dp"
+ android:layout_marginTop="6dp"
+ android:contentDescription="@string/fetch_more_messages"
+ app:icon="@drawable/ic_fetch_more_arrow_upward"
+ app:iconPadding="0dp" />
-
+ android:layout_marginHorizontal="6dp"
+ android:layout_marginBottom="6dp"
+ android:contentDescription="@string/fetch_more_messages"
+ app:icon="@drawable/ic_fetch_more_arrow_downward"
+ app:iconPadding="0dp" />
+