diff options
author | Winson Chung <winsonc@google.com> | 2010-10-12 17:49:56 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-10-12 18:27:22 -0700 |
commit | b0b2e6f588367cf40a4270cca81af7d78f8e382e (patch) | |
tree | 62abbbdfee693ee344eecd407df0c97d62062b60 /src/com/android/launcher2/AllAppsTabbed.java | |
parent | f93a49422ba1516492a29f0563285d06d079404e (diff) | |
download | android_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.java | 3 |
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. |