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);
android:onClick="navSettingsClicked"
android:text="@string/action_settings" />
- <TextView
- android:id="@+id/nav_exit"
- style="@style/nav_button"
- android:layout_weight="1"
- android:drawableStart="@drawable/ic_exit_to_app_black_24dp"
- android:onClick="navExitClicked"
- android:text="@string/nav_exit_title" />
-
</LinearLayout>
<ScrollView
<resources>
<string name="app_name">Mobile Ledger</string>
- <string name="nav_exit_title">Изход</string>
<string name="title_activity_settings">Настройки</string>
<string name="pref_header_backend">Сървър</string>
<string name="pref_title_use_http_auth">Удостоверяване</string>
<string name="nav_header_subtitle" translatable="false">dam+google@ktnx.net</string>
<string name="nav_latest_transactions_title">Latest transactions</string>
<string name="nav_reports_title">Reports</string>
- <string name="nav_exit_title">Exit</string>
<string name="title_activity_settings">Settings</string>
<!-- Strings related to Settings -->