Fix Launcher drop targets for App remove / uninstall / info
- make the code aware of the layout direction - use start drawables - fix animation drop rect Change-Id: I35f01b9079aef418c0a22b39e32344c7bf5a0660
This commit is contained in:
1 parent
892d023c54
commit
d6a33c6f34
3 files changed
+32
-13
No files matched your search
@@ -154,9 +154,9 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
}
|
||||
|
||||
if (isUninstall) {
|
||||
setCompoundDrawablesWithIntrinsicBounds(mUninstallDrawable, null, null, null);
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(mUninstallDrawable, null, null, null);
|
||||
} else {
|
||||
setCompoundDrawablesWithIntrinsicBounds(mRemoveDrawable, null, null, null);
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(mRemoveDrawable, null, null, null);
|
||||
}
|
||||
mCurrentDrawable = (TransitionDrawable) getCurrentDrawable();
|
||||
|
||||
|
||||
Reference in new issue
Block a user