Creating a custom drawable to customize shadow.

> Fixing DrapTargetBar set to visible (with alpha = 0) in the start
causing unnecessary draw

Bug: 37616877
Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
This commit is contained in:
Sunny Goyal
2017-04-26 22:34:49 -07:00
parent 83519d3fb1
commit da1dfa32d0
31 changed files with 338 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
// Get the hover color
mHoverColor = getResources().getColor(R.color.delete_target_hover_tint);
setDrawable(R.drawable.ic_remove_launcher);
setDrawable(R.drawable.ic_remove_shadow);
}
@Override