Update menu

This commit is contained in:
MrLetsplay 2023-09-24 17:27:25 +02:00
parent 169f219d88
commit 658c0eab7d
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
3 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<vector android:autoMirrored="true" android:height="24dp" <vector android:autoMirrored="true" android:height="24dp"
android:tint="#FFFFFF" android:viewportHeight="24" android:tint="?android:attr/textColor" android:viewportHeight="24"
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M20,6h-8l-2,-2L4,4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,8c0,-1.1 -0.9,-2 -2,-2zM14,18v-3h-4v-4h4L14,8l5,5 -5,5z"/> <path android:fillColor="@android:color/white" android:pathData="M20,6h-8l-2,-2L4,4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,8c0,-1.1 -0.9,-2 -2,-2zM14,18v-3h-4v-4h4L14,8l5,5 -5,5z"/>
</vector> </vector>

View File

@ -31,6 +31,12 @@
app:showAsAction="never"/> app:showAsAction="never"/>
</menu> </menu>
</item> </item>
<item
android:id="@+id/action_lock"
android:orderInCategory="100"
android:title="Lock"
app:showAsAction="never"
android:onClick="lockApp" />
<item <item
android:id="@+id/action_settings" android:id="@+id/action_settings"
android:orderInCategory="100" android:orderInCategory="100"
@ -43,10 +49,4 @@
android:title="@string/action_about" android:title="@string/action_about"
app:showAsAction="never" app:showAsAction="never"
android:onClick="openAbout" /> android:onClick="openAbout" />
<item
android:id="@+id/action_lock"
android:orderInCategory="100"
android:title="Lock"
app:showAsAction="never"
android:onClick="lockApp" />
</menu> </menu>

View File

@ -4,7 +4,7 @@
<item <item
android:id="@+id/action_view_otp" android:id="@+id/action_view_otp"
android:orderInCategory="100" android:orderInCategory="100"
android:icon="@drawable/baseline_preview_24" android:icon="@drawable/baseline_visibility_24"
android:title="View OTP" android:title="View OTP"
android:onClick="viewOTP" android:onClick="viewOTP"
app:showAsAction="always" /> app:showAsAction="always" />
@ -18,7 +18,7 @@
<item <item
android:id="@+id/action_move_otp" android:id="@+id/action_move_otp"
android:orderInCategory="100" android:orderInCategory="100"
android:icon="@drawable/baseline_drive_file_move_rtl_24" android:icon="@drawable/baseline_drive_file_move_24"
android:title="Move OTP" android:title="Move OTP"
android:onClick="moveOTP" android:onClick="moveOTP"
app:showAsAction="always" /> app:showAsAction="always" />
@ -29,6 +29,12 @@
android:title="Delete OTP" android:title="Delete OTP"
android:onClick="deleteOTP" android:onClick="deleteOTP"
app:showAsAction="always" /> app:showAsAction="always" />
<item
android:id="@+id/action_lock"
android:orderInCategory="100"
android:title="Lock"
app:showAsAction="never"
android:onClick="lockApp" />
<item <item
android:id="@+id/action_settings" android:id="@+id/action_settings"
android:orderInCategory="100" android:orderInCategory="100"
@ -41,10 +47,4 @@
android:title="@string/action_about" android:title="@string/action_about"
app:showAsAction="never" app:showAsAction="never"
android:onClick="openAbout" /> android:onClick="openAbout" />
<item
android:id="@+id/action_lock"
android:orderInCategory="100"
android:title="Lock"
app:showAsAction="never"
android:onClick="lockApp" />
</menu> </menu>