aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-22 17:52:23 +0200
committerDanilo M. <danix@danix.xyz>2026-10-22 17:52:23 +0200
commitb35ce9ed6eb66cef1578bf141cd382f17a541566 (patch)
treea5c539a13f587ecbe55ead4a74d8100745366279 /app/src/main/res
parent9fba091bb394e8e4c7e8ccd0702081bd1a939047 (diff)
downloadmygram-droid-master.tar.gz
mygram-droid-master.zip
Folder grid order toggle: random, by date, by nameHEADmaster
A button at the top right of the folder header cycles the grid order and reloads it; the choice is saved for every folder. Foldergram has no per-request sort, so "by date" is the server's order (the instance's default folder order) and "by name" fetches every page and sorts by file name on the device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_schedule.xml6
-rw-r--r--app/src/main/res/drawable/ic_shuffle.xml6
-rw-r--r--app/src/main/res/drawable/ic_sort_by_alpha.xml6
3 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_schedule.xml b/app/src/main/res/drawable/ic_schedule.xml
new file mode 100644
index 0000000..5fd2139
--- /dev/null
+++ b/app/src/main/res/drawable/ic_schedule.xml
@@ -0,0 +1,6 @@
+<!-- Material Icons "schedule", Apache License 2.0 -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp" android:height="24dp"
+ android:viewportWidth="24" android:viewportHeight="24">
+ <path android:fillColor="#FFFFFFFF" android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8zM12.5,7H11v6l5.25,3.15 0.75,-1.23 -4.5,-2.67z" />
+</vector>
diff --git a/app/src/main/res/drawable/ic_shuffle.xml b/app/src/main/res/drawable/ic_shuffle.xml
new file mode 100644
index 0000000..9d03c0f
--- /dev/null
+++ b/app/src/main/res/drawable/ic_shuffle.xml
@@ -0,0 +1,6 @@
+<!-- Material Icons "shuffle", Apache License 2.0 -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp" android:height="24dp"
+ android:viewportWidth="24" android:viewportHeight="24">
+ <path android:fillColor="#FFFFFFFF" android:pathData="M10.59,9.17L5.41,4 4,5.41l5.17,5.17 1.42,-1.41zM14.5,4l2.04,2.04L4,18.59 5.41,20 17.96,7.46 20,9.5V4h-5.5zM14.83,13.41l-1.41,1.41 3.13,3.13L14.5,20H20v-5.5l-2.04,2.04 -3.13,-3.13z" />
+</vector>
diff --git a/app/src/main/res/drawable/ic_sort_by_alpha.xml b/app/src/main/res/drawable/ic_sort_by_alpha.xml
new file mode 100644
index 0000000..bf6b31f
--- /dev/null
+++ b/app/src/main/res/drawable/ic_sort_by_alpha.xml
@@ -0,0 +1,6 @@
+<!-- Material Icons "sort_by_alpha", Apache License 2.0 -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp" android:height="24dp"
+ android:viewportWidth="24" android:viewportHeight="24">
+ <path android:fillColor="#FFFFFFFF" android:pathData="M14.94,4.66h-4.72l2.36,-2.36zM10.25,19.37h4.66l-2.33,2.33zM6.1,6.27L1.6,17.73h1.84l0.92,-2.45h5.11l0.92,2.45h1.84L7.74,6.27H6.1zM4.97,13.64l1.94,-5.18 1.94,5.18H4.97zM15.73,16.14h6.12v1.59h-8.53v-1.29l5.92,-8.56h-5.88v-1.6h8.3v1.26l-5.93,8.6z" />
+</vector>