From 020d61dd6e324bd578881cb95648ed3f06cd853e Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Thu, 14 Aug 2014 23:11:06 -0700 Subject: [PATCH] migrate nav panel items to actionbar Fixes #1819 Closes #1839 // FREEBIE --- res/layout/conversation_list_activity.xml | 20 +-- res/layout/navigation_drawer_item.xml | 23 --- res/menu/text_secure_normal.xml | 8 + res/values/arrays.xml | 20 --- res/values/attrs.xml | 5 - res/values/strings.xml | 2 +- res/values/themes.xml | 22 --- .../securesms/ConversationListActivity.java | 158 ++++-------------- .../securesms/ConversationListFragment.java | 10 -- .../securesms/util/DynamicTheme.java | 10 +- 10 files changed, 50 insertions(+), 228 deletions(-) delete mode 100644 res/layout/navigation_drawer_item.xml diff --git a/res/layout/conversation_list_activity.xml b/res/layout/conversation_list_activity.xml index 1c613eac1..29ef69daa 100644 --- a/res/layout/conversation_list_activity.xml +++ b/res/layout/conversation_list_activity.xml @@ -1,9 +1,9 @@ - + - - @@ -27,4 +19,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/res/layout/navigation_drawer_item.xml b/res/layout/navigation_drawer_item.xml deleted file mode 100644 index 2623b8836..000000000 --- a/res/layout/navigation_drawer_item.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/res/menu/text_secure_normal.xml b/res/menu/text_secure_normal.xml index 5e5f70fd2..935477a11 100644 --- a/res/menu/text_secure_normal.xml +++ b/res/menu/text_secure_normal.xml @@ -17,6 +17,14 @@ android:id="@+id/menu_mark_all_read" android:icon="@android:drawable/ic_menu_set_as" /> + + + + diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 6e2c2e57f..875bfb1d9 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -124,24 +124,4 @@ 3000,3000 custom - - - @string/arrays__import_export - @string/arrays__my_identity_key - - - - import_export - my_identity_key - - - - @drawable/import_export_light - @drawable/my_identity_light - - - - @drawable/import_export_dark - @drawable/my_identity_dark - diff --git a/res/values/attrs.xml b/res/values/attrs.xml index bd9bc663a..48f3aa03f 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -52,11 +52,6 @@ - - - - - diff --git a/res/values/strings.xml b/res/values/strings.xml index 20e3c48a1..a464532ac 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -668,7 +668,7 @@ Submit debug logs - Import / Export + Import / export My identity key diff --git a/res/values/themes.xml b/res/values/themes.xml index 0c64d4f0c..f9bec7917 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -83,17 +83,6 @@ #ff5a8800 - - - -