]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/new_transaction_fragment.xml
Migrate from Switch to SwitchMaterial
[mobile-ledger.git] / app / src / main / res / menu / new_transaction_fragment.xml
index dc9b08dc992266d1e0928dfc43eab17d1abed3b0..c44acf51d777bafc5dc13b390f963b83dfec82f6 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
 
 <menu xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto">
+    <item
+        android:id="@+id/toggle_currency"
+        android:title="@string/show_currency_input"
+        android:checkable="true"
+        android:checked="false"
+        app:actionLayout="@layout/switch_item"
+        app:showAsAction="never" />
+    <item
+        android:id="@+id/toggle_comments"
+        android:checkable="true"
+        android:title="@string/show_comments_switch"
+        app:actionLayout="@layout/switch_item"
+        app:showAsAction="never" />
     <item
         android:id="@+id/action_reset_new_transaction_activity"
         android:icon="@drawable/ic_refresh_white_24dp"