diff options
author | Michael Jurka <mikejurka@google.com> | 2011-02-23 11:48:32 -0800 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-05-13 14:35:47 -0700 |
commit | 12ac0d60cce75fc002da43ef20290613f069a85f (patch) | |
tree | c85de9bd655e7584f8ab3bf7ca92f43f47daf2f5 /res/layout-xlarge/all_apps_tabbed.xml | |
parent | 2701ec91e15ff1fa415ec051e46f1f32e3cd53bb (diff) | |
download | android_packages_apps_Trebuchet-12ac0d60cce75fc002da43ef20290613f069a85f.tar.gz android_packages_apps_Trebuchet-12ac0d60cce75fc002da43ef20290613f069a85f.tar.bz2 android_packages_apps_Trebuchet-12ac0d60cce75fc002da43ef20290613f069a85f.zip |
Setting tab bar widths automatically
- will make launcher adapt better to different screen sizes
- also, moved customization tray tab setup code from Launcher to CustomizeTrayTabHost
Diffstat (limited to 'res/layout-xlarge/all_apps_tabbed.xml')
-rw-r--r-- | res/layout-xlarge/all_apps_tabbed.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/res/layout-xlarge/all_apps_tabbed.xml b/res/layout-xlarge/all_apps_tabbed.xml index 2710b3214..993733821 100644 --- a/res/layout-xlarge/all_apps_tabbed.xml +++ b/res/layout-xlarge/all_apps_tabbed.xml @@ -24,8 +24,11 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> + <!-- The layout_width of this RelativeLayout gets overwritten in + AllAppsTabbed.onFinishInflate --> <RelativeLayout - android:layout_width="@dimen/all_apps_tabbed_width" + android:id="@+id/all_apps_tab_bar" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:background="@drawable/tab_unselected_holo"> |