summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wendt <thoemy@gmx.net>2014-11-10 18:35:01 (GMT)
committerAdnan <adnan@cyngn.com>2014-11-19 23:53:58 (GMT)
commit9ac45b642bea5e15164da3373b973828a3e8a1d8 (patch)
treeaf3684c0bbed43a578a4dafcbd3bf066d3a49ec3
parent370a0a6c6fce3768bb64deb0ef88d23dc4719d8a (diff)
downloadandroid_packages_apps_Trebuchet-9ac45b642bea5e15164da3373b973828a3e8a1d8.zip
android_packages_apps_Trebuchet-9ac45b642bea5e15164da3373b973828a3e8a1d8.tar.gz
android_packages_apps_Trebuchet-9ac45b642bea5e15164da3373b973828a3e8a1d8.tar.bz2
Fix hidden "Remove" and "App info" buttons in landscape
On grouper the "Remove" and "App info" buttons are not visible if the device is in landscape. Layout the children of the drag_target_bar vertically to fix this. Fixes: https://jira.cyanogenmod.org/browse/CYAN-3744 Before: http://i.imgur.com/SHMTUjK.png After: http://i.imgur.com/4JeJi8k.png Change-Id: Ie8a9a799fa89bf8ad233202da10c808ab65a66a9
-rw-r--r--src/com/android/launcher3/SearchDropTargetBar.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/SearchDropTargetBar.java b/src/com/android/launcher3/SearchDropTargetBar.java
index 00f2ee2..d38c612 100644
--- a/src/com/android/launcher3/SearchDropTargetBar.java
+++ b/src/com/android/launcher3/SearchDropTargetBar.java
@@ -247,4 +247,8 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
return null;
}
}
+
+ public View getDropTargetBar() {
+ return mDropTargetBar;
+ }
}