From 9401b3e8f0d6f49751a4d203502cfb76842599c0 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 1 Apr 2020 15:11:55 -0300 Subject: [wallet] automatic code cleanup --- wallet/src/main/res/menu/activity_main_drawer.xml | 30 +++++++++++------------ wallet/src/main/res/menu/balance.xml | 16 ++++++------ wallet/src/main/res/menu/history.xml | 23 +++++++++-------- wallet/src/main/res/menu/pending_operations.xml | 10 ++++---- 4 files changed, 39 insertions(+), 40 deletions(-) (limited to 'wallet/src/main/res/menu') diff --git a/wallet/src/main/res/menu/activity_main_drawer.xml b/wallet/src/main/res/menu/activity_main_drawer.xml index 5eee6cc..49119f8 100644 --- a/wallet/src/main/res/menu/activity_main_drawer.xml +++ b/wallet/src/main/res/menu/activity_main_drawer.xml @@ -15,27 +15,27 @@ --> + xmlns:tools="http://schemas.android.com/tools" + tools:showIn="@layout/activity_main"> + android:id="@+id/nav_home" + android:icon="@drawable/ic_account_balance_wallet" + android:title="@string/balances_title" + tools:checked="true" /> + android:id="@+id/nav_history" + android:icon="@drawable/ic_history_black_24dp" + android:title="@string/menu_history" /> + android:id="@+id/nav_settings" + android:icon="@drawable/ic_settings" + android:title="@string/menu_settings" /> + android:id="@+id/nav_pending_operations" + android:icon="@drawable/ic_sync" + android:title="@string/pending_operations_title" /> diff --git a/wallet/src/main/res/menu/balance.xml b/wallet/src/main/res/menu/balance.xml index 7ac3a9f..1685526 100644 --- a/wallet/src/main/res/menu/balance.xml +++ b/wallet/src/main/res/menu/balance.xml @@ -15,14 +15,14 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto"> + android:id="@+id/reload_balance" + android:title="@string/menu_balance_reload" + app:showAsAction="never" /> + android:id="@+id/developer_mode" + android:checkable="true" + android:title="@string/menu_developer_mode" + app:showAsAction="never" /> diff --git a/wallet/src/main/res/menu/history.xml b/wallet/src/main/res/menu/history.xml index 755323b..bd50f5d 100644 --- a/wallet/src/main/res/menu/history.xml +++ b/wallet/src/main/res/menu/history.xml @@ -1,5 +1,4 @@ - - + xmlns:app="http://schemas.android.com/apk/res-auto"> + android:id="@+id/show_all_history" + android:checkable="true" + android:checked="false" + android:title="@string/history_show_all" + app:showAsAction="never" /> + android:id="@+id/reload_history" + android:orderInCategory="100" + android:title="@string/history_reload" + app:showAsAction="never" /> diff --git a/wallet/src/main/res/menu/pending_operations.xml b/wallet/src/main/res/menu/pending_operations.xml index 980ea66..b632021 100644 --- a/wallet/src/main/res/menu/pending_operations.xml +++ b/wallet/src/main/res/menu/pending_operations.xml @@ -15,10 +15,10 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto"> + android:id="@+id/retry_pending" + android:orderInCategory="100" + android:title="@string/menu_retry_pending_operations" + app:showAsAction="never" /> -- cgit v1.2.3