]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/profile_details.xml
delete profile menu as action; hide when only one profile or when a new profile is...
[mobile-ledger.git] / app / src / main / res / menu / profile_details.xml
index 9d62e06a66aaef4a0a60afb21f4fbf9c5171df5d..5a8593ee1192acc7cd245577cc0f8d9819c3e527 100644 (file)
   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
   -->
 
   ~ along with Mobile-Ledger. 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">
 
     <item
         android:id="@+id/menuDelete"
         android:icon="@drawable/ic_delete_white_24dp"
 
     <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" />
 </menu>
\ No newline at end of file
 </menu>
\ No newline at end of file