mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 09:57:26 +00:00
Fixed multiple context menus appearing + customizable app menu spacing + renaming view is unscrollable
This commit is contained in:
parent
e453742ce8
commit
5a3012f0f1
10 changed files with 91 additions and 13 deletions
|
|
@ -10,24 +10,28 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/renameView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingVertical="10dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingVertical="5dp"
|
||||
android:visibility="invisible">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/appNameEdit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:clickable="true"
|
||||
android:elegantTextHeight="false"
|
||||
android:gravity="center_vertical"
|
||||
android:imeOptions="actionDone"
|
||||
android:includeFontPadding="true"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingTop="0dp"
|
||||
android:paddingRight="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingBottom="0dp"
|
||||
android:selectAllOnFocus="true"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
@ -52,9 +56,10 @@
|
|||
android:id="@+id/appName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="start"
|
||||
android:gravity="start|center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -69,6 +74,7 @@
|
|||
android:id="@+id/actionMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:visibility="invisible">
|
||||
|
||||
|
|
@ -79,6 +85,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:foreground="@drawable/app_action_foreground"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="@string/info"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
@ -92,6 +99,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:foreground="@drawable/app_action_foreground"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="@string/uninstall"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
@ -105,6 +113,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:foreground="@drawable/app_action_foreground"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="@string/rename"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
@ -118,6 +127,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:foreground="@drawable/app_action_foreground"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="@string/hide"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
@ -131,6 +141,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="#A7000000"
|
||||
android:foreground="@drawable/app_action_foreground"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="@string/close"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue