From 0e16cb1730b2326302fa46eddbccbbd008d473a5 Mon Sep 17 00:00:00 2001
From: 0xd9a <0xd9a@noreply.codeberg.org>
Date: Wed, 1 Feb 2023 06:41:33 +0530
Subject: [PATCH] update schedule dialog
---
...ate_next_24.xml => ic_navigate_before.xml} | 4 +-
.../mastodon/drawable/ic_navigate_next.xml | 11 ++++
.../mastodon/layout/activity_actions.xml | 12 ++--
.../layout/activity_admin_actions.xml | 6 +-
.../mastodon/layout/datetime_picker.xml | 63 ++++++++-----------
.../layouts/mastodon/layout/drawer_list.xml | 2 +-
6 files changed, 50 insertions(+), 48 deletions(-)
rename app/src/main/res/drawables/mastodon/drawable/{ic_baseline_navigate_next_24.xml => ic_navigate_before.xml} (51%)
create mode 100644 app/src/main/res/drawables/mastodon/drawable/ic_navigate_next.xml
diff --git a/app/src/main/res/drawables/mastodon/drawable/ic_baseline_navigate_next_24.xml b/app/src/main/res/drawables/mastodon/drawable/ic_navigate_before.xml
similarity index 51%
rename from app/src/main/res/drawables/mastodon/drawable/ic_baseline_navigate_next_24.xml
rename to app/src/main/res/drawables/mastodon/drawable/ic_navigate_before.xml
index 76251d05..34f3b338 100644
--- a/app/src/main/res/drawables/mastodon/drawable/ic_baseline_navigate_next_24.xml
+++ b/app/src/main/res/drawables/mastodon/drawable/ic_navigate_before.xml
@@ -2,10 +2,10 @@
android:width="24dp"
android:height="24dp"
android:autoMirrored="true"
- android:tint="?attr/colorControlNormal"
+ android:tint="?colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
+ android:pathData="M14.91,6.71c-0.39,-0.39 -1.02,-0.39 -1.41,0L8.91,11.3c-0.39,0.39 -0.39,1.02 0,1.41l4.59,4.59c0.39,0.39 1.02,0.39 1.41,0 0.39,-0.39 0.39,-1.02 0,-1.41L11.03,12l3.88,-3.88c0.38,-0.39 0.38,-1.03 0,-1.41z" />
diff --git a/app/src/main/res/drawables/mastodon/drawable/ic_navigate_next.xml b/app/src/main/res/drawables/mastodon/drawable/ic_navigate_next.xml
new file mode 100644
index 00000000..e398e157
--- /dev/null
+++ b/app/src/main/res/drawables/mastodon/drawable/ic_navigate_next.xml
@@ -0,0 +1,11 @@
+
+
+
diff --git a/app/src/main/res/layouts/mastodon/layout/activity_actions.xml b/app/src/main/res/layouts/mastodon/layout/activity_actions.xml
index f58b01c4..e1baafb0 100644
--- a/app/src/main/res/layouts/mastodon/layout/activity_actions.xml
+++ b/app/src/main/res/layouts/mastodon/layout/activity_actions.xml
@@ -21,7 +21,7 @@
android:text="@string/bookmarks"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
@@ -36,7 +36,7 @@
android:text="@string/muted_menu"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
@@ -51,7 +51,7 @@
android:text="@string/muted_menu_home"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
@@ -66,7 +66,7 @@
android:text="@string/blocked_menu"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
@@ -82,7 +82,7 @@
android:text="@string/favourite"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
@@ -98,7 +98,7 @@
android:text="@string/blocked_domains"
android:textAlignment="textStart"
android:textColor="?attr/colorAccent"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end"
app:iconTint="?attr/colorAccent"
app:strokeColor="?attr/colorAccent" />
diff --git a/app/src/main/res/layouts/mastodon/layout/activity_admin_actions.xml b/app/src/main/res/layouts/mastodon/layout/activity_admin_actions.xml
index 516e22ba..da8720b6 100644
--- a/app/src/main/res/layouts/mastodon/layout/activity_admin_actions.xml
+++ b/app/src/main/res/layouts/mastodon/layout/activity_admin_actions.xml
@@ -20,7 +20,7 @@
android:paddingVertical="12dp"
android:text="@string/reports"
android:textAlignment="textStart"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end" />
diff --git a/app/src/main/res/layouts/mastodon/layout/datetime_picker.xml b/app/src/main/res/layouts/mastodon/layout/datetime_picker.xml
index 2ee7cbfe..091f6919 100644
--- a/app/src/main/res/layouts/mastodon/layout/datetime_picker.xml
+++ b/app/src/main/res/layouts/mastodon/layout/datetime_picker.xml
@@ -16,15 +16,15 @@
-->
+ android:layout_height="wrap_content">
@@ -47,67 +47,58 @@
+ app:layout_constraintTop_toBottomOf="@id/barrier_date_time_bottom"
+ tools:visibility="visible" />
+ app:layout_constraintTop_toBottomOf="@id/barrier_date_time_bottom"
+ tools:visibility="visible" />
\ No newline at end of file
diff --git a/app/src/main/res/layouts/mastodon/layout/drawer_list.xml b/app/src/main/res/layouts/mastodon/layout/drawer_list.xml
index 33ff1aaf..e9604ddd 100644
--- a/app/src/main/res/layouts/mastodon/layout/drawer_list.xml
+++ b/app/src/main/res/layouts/mastodon/layout/drawer_list.xml
@@ -8,5 +8,5 @@
android:layout_marginTop="24dp"
android:paddingVertical="12dp"
android:textAlignment="textStart"
- app:icon="@drawable/ic_baseline_navigate_next_24"
+ app:icon="@drawable/ic_navigate_next"
app:iconGravity="end" />
\ No newline at end of file