diff options
author | Joey <joey@lineageos.org> | 2020-02-07 22:18:51 +0100 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2020-06-01 13:27:42 +0200 |
commit | 2da8bf12fa4f5389a115db9d4cec421c6955785b (patch) | |
tree | 645de8e788e31ba9148aef5b7b1094de1d5d5b04 /res | |
parent | 30ebe3be817aba20119ff023d468461f478a22f7 (diff) | |
download | android_packages_apps_Trebuchet-2da8bf12fa4f5389a115db9d4cec421c6955785b.tar.gz android_packages_apps_Trebuchet-2da8bf12fa4f5389a115db9d4cec421c6955785b.tar.bz2 android_packages_apps_Trebuchet-2da8bf12fa4f5389a115db9d4cec421c6955785b.zip |
Trebuchet: fix protected apps behaviour
If no secure lockscreen is set we should not show
the app list
Also make icons' touchable area larger
Change-Id: Id398e98cb4d8fdae169aae194211b98e6441b4cf
Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/item_hidden_app.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/res/layout/item_hidden_app.xml b/res/layout/item_hidden_app.xml index 34fad9831..d40f04e27 100644 --- a/res/layout/item_hidden_app.xml +++ b/res/layout/item_hidden_app.xml @@ -26,21 +26,25 @@ <ImageView android:id="@+id/item_protected_app_switch" - android:layout_width="24dp" - android:layout_height="24dp" + android:layout_width="40dp" + android:layout_height="40dp" android:layout_alignParentEnd="true" android:layout_centerVertical="true" android:layout_marginEnd="56dp" + android:padding="8dp" + android:background="?android:attr/selectableItemBackgroundBorderless" android:clickable="true" android:focusable="true" /> <ImageView android:id="@+id/item_hidden_app_switch" - android:layout_width="24dp" - android:layout_height="24dp" + android:layout_width="40dp" + android:layout_height="40dp" android:layout_alignParentEnd="true" android:layout_centerVertical="true" android:layout_marginEnd="16dp" + android:padding="8dp" + android:background="?android:attr/selectableItemBackgroundBorderless" android:clickable="true" android:focusable="true" /> |