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:
Sunny Goyal committed 2015-05-21 10:30:46 -07:00
1 parent c393b0765d
commit 3a644ed1ce
24 files changed
+59 -94

No files matched your search

@@ -43,7 +43,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
// Get the hover color
mHoverColor = getResources().getColor(R.color.delete_target_hover_tint);
setDrawable(R.drawable.remove_target_selector);
setDrawable(R.drawable.ic_launcher_remove_normal);
}
public static boolean supportsDrop(Object info) {