From: Damyan Ivanov Date: Tue, 15 Jan 2019 20:38:09 +0000 (+0000) Subject: remove Exit item from the drawer X-Git-Tag: v0.3~32 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7ff1c26d71d1f13fab1d7e1dc93c0d9469b64236;p=mobile-ledger.git remove Exit item from the drawer not really useful, android has other ways for this --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index 37e6fd23..488dbeae 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -221,12 +221,6 @@ public class MainActivity extends AppCompatActivity { startActivity(intent); overridePendingTransition(R.anim.slide_in_right, R.anim.dummy); } - - public void navExitClicked(View view) { - Log.w("app", "exiting"); - finish(); - } - public void navSettingsClicked(View view) { Intent intent = new Intent(this, SettingsActivity.class); startActivity(intent); diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 3114bba1..0f66ac38 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -212,14 +212,6 @@ android:onClick="navSettingsClicked" android:text="@string/action_settings" /> - - Mobile Ledger - Изход Настройки Сървър Удостоверяване diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 74b54843..68b5254d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,7 +24,6 @@ dam+google@ktnx.net Latest transactions Reports - Exit Settings