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 committed 2017-04-27 05:35:28 -07:00
1 parent 83519d3fb1
commit da1dfa32d0
31 files changed
+338 -10

No files matched your search

@@ -40,12 +40,10 @@ public class InfoDropTarget extends UninstallDropTarget {
}
@Override
protected void onFinishInflate() {
super.onFinishInflate();
protected void setupUi() {
// Get the hover color
mHoverColor = Themes.getColorAccent(getContext());
setDrawable(R.drawable.ic_info_launcher);
setDrawable(R.drawable.ic_info_shadow);
}
@Override