mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Using color filter when animating the drop target instead to TransitionDrawable
> No more flickering when crossfading between two bitmaps in small duration > Allows us to control the color directly without depending on the assets Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
This commit is contained in:
@@ -28,7 +28,7 @@ public class UninstallDropTarget extends ButtonDropTarget {
|
||||
// Get the hover color
|
||||
mHoverColor = getResources().getColor(R.color.uninstall_target_hover_tint);
|
||||
|
||||
setDrawable(R.drawable.uninstall_target_selector);
|
||||
setDrawable(R.drawable.ic_launcher_uninstall_normal);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user