]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/profile_details.xml
developer menu item for wiping all local profile data
[mobile-ledger.git] / app / src / main / res / menu / profile_details.xml
index 9d62e06a66aaef4a0a60afb21f4fbf9c5171df5d..18d01233c639ef27dc230348af944f4fb5e8a706 100644 (file)
@@ -1,25 +1,35 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
   ~ Copyright © 2019 Damyan Ivanov.
-  ~ This file is part of Mobile-Ledger.
-  ~ Mobile-Ledger is free software: you can distribute it and/or modify it
+  ~ 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
   ~ the Free Software Foundation, either version 3 of the License, or
   ~ (at your opinion), any later version.
   ~
-  ~ Mobile-Ledger is distributed in the hope that it will be useful,
+  ~ MoLe is distributed in the hope that it will be useful,
   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   ~ GNU General Public License terms for details.
   ~
   ~ You should have received a copy of the GNU General Public License
-  ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
+  ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
   -->
 
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools">
 
     <item
         android:id="@+id/menuDelete"
         android:icon="@drawable/ic_delete_white_24dp"
-        android:title="@string/delete" />
+        android:title="@string/delete_profile"
+        android:titleCondensed="@string/delete"
+        app:showAsAction="ifRoom" />
+    <item
+        android:id="@+id/menuWipeData"
+        android:title="Wipe profile data"
+        android:titleCondensed="Wipe"
+        app:showAsAction="never"
+        android:visible="false"
+        tools:ignore="HardcodedText" />
 </menu>
\ No newline at end of file