diff options
author | Alexander Martinz <amartinz@shiftphones.com> | 2018-07-06 13:01:20 +0200 |
---|---|---|
committer | Joey Rizzoli <joey@lineageos.org> | 2018-07-14 15:36:07 +0200 |
commit | 6649f808c2c6bafc6a3b614e0b26e674de4d7619 (patch) | |
tree | 6f636a393c783c8cece0bfb8d5cd470fc54e792c /res | |
parent | 2979f2b8ab166f9433023d4797ea6b766dbc5fe0 (diff) | |
download | android_packages_apps_Trebuchet-6649f808c2c6bafc6a3b614e0b26e674de4d7619.tar.gz android_packages_apps_Trebuchet-6649f808c2c6bafc6a3b614e0b26e674de4d7619.tar.bz2 android_packages_apps_Trebuchet-6649f808c2c6bafc6a3b614e0b26e674de4d7619.zip |
Edit dialog: dynamically apply foreground to icon
If there are no icon packs installed, we can not edit the icon, though
it always applied a foreground and click listener.
Only apply foreground and set click listener, if there are icon packs
installed and clicking on it actually does something.
Change-Id: I09ac1473c75d5edcf5e940a0e5bb2ec7f2296e8f
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/target_edit_dialog.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/res/layout/target_edit_dialog.xml b/res/layout/target_edit_dialog.xml index 11bfefc80..7567411a7 100644 --- a/res/layout/target_edit_dialog.xml +++ b/res/layout/target_edit_dialog.xml @@ -28,7 +28,6 @@ android:layout_gravity="bottom" android:layout_marginEnd="16dp" android:background="?android:selectableItemBackground" - android:foreground="@drawable/ic_icon_change" android:scaleType="fitCenter" tools:src="@mipmap/ic_launcher" /> |