From 6d4f236526dcd30ac2b358e09081f62846670df7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 May 2025 15:40:22 +0300 Subject: - rename 'selected' views to 'active' - no longer let detailactivity to persist on configuration change in order to properly handle different tablet portrait/landscape layouts - stop keeping active article as objects, use ID instead to prevent deserialization desyncs --- .../res/layout/headlines_row_compact_active.xml | 108 ++++++++++++++++++++ .../layout/headlines_row_compact_active_unread.xml | 110 +++++++++++++++++++++ .../res/layout/headlines_row_compact_selected.xml | 108 -------------------- .../headlines_row_compact_selected_unread.xml | 110 --------------------- org.fox.ttrss/src/main/res/menu/activity_main.xml | 5 +- 5 files changed, 222 insertions(+), 219 deletions(-) create mode 100755 org.fox.ttrss/src/main/res/layout/headlines_row_compact_active.xml create mode 100755 org.fox.ttrss/src/main/res/layout/headlines_row_compact_active_unread.xml delete mode 100755 org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected.xml delete mode 100755 org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected_unread.xml (limited to 'org.fox.ttrss/src/main/res') diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active.xml new file mode 100755 index 00000000..5721dcb8 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active_unread.xml new file mode 100755 index 00000000..06813e04 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_active_unread.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected.xml deleted file mode 100755 index 5721dcb8..00000000 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected_unread.xml deleted file mode 100755 index 06813e04..00000000 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_compact_selected_unread.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/menu/activity_main.xml b/org.fox.ttrss/src/main/res/menu/activity_main.xml index 1650f366..6f3198a2 100755 --- a/org.fox.ttrss/src/main/res/menu/activity_main.xml +++ b/org.fox.ttrss/src/main/res/menu/activity_main.xml @@ -66,7 +66,10 @@ app:iconTint="?attr/colorControlNormal" app:showAsAction="ifRoom" android:title="@string/share_article"/> - + -- cgit v1.2.3-54-g00ecf