summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllAppsTabbed.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-10-12 17:49:56 -0700
committerWinson Chung <winsonc@google.com>2010-10-12 18:27:22 -0700
commitb0b2e6f588367cf40a4270cca81af7d78f8e382e (patch)
tree62abbbdfee693ee344eecd407df0c97d62062b60 /src/com/android/launcher2/AllAppsTabbed.java
parentf93a49422ba1516492a29f0563285d06d079404e (diff)
downloadandroid_packages_apps_Trebuchet-b0b2e6f588367cf40a4270cca81af7d78f8e382e.tar.gz
android_packages_apps_Trebuchet-b0b2e6f588367cf40a4270cca81af7d78f8e382e.tar.bz2
android_packages_apps_Trebuchet-b0b2e6f588367cf40a4270cca81af7d78f8e382e.zip
Tweaking spacing and layout of AllApps/Customize in portrait.
- Also added workaround for tab label not being initially selected - Added fix for initial layout of PagedViews preventing side pages from having proper alpha - Marking widget dims format string as not translatable Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
Diffstat (limited to 'src/com/android/launcher2/AllAppsTabbed.java')
-rw-r--r--src/com/android/launcher2/AllAppsTabbed.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllAppsTabbed.java b/src/com/android/launcher2/AllAppsTabbed.java
index 368306f50..aff8ddd20 100644
--- a/src/com/android/launcher2/AllAppsTabbed.java
+++ b/src/com/android/launcher2/AllAppsTabbed.java
@@ -127,6 +127,9 @@ public class AllAppsTabbed extends TabHost implements AllAppsView {
}
});
+ // TEMP: Working around a bug in tab host where the current tab does not initially have a
+ // highlight on it by selecting something else, then selecting the actual tab we want..
+ setCurrentTab(1);
setCurrentTab(0);
// It needs to be INVISIBLE so that it will be measured in the layout.