diff options
author | Michael Jurka <mikejurka@google.com> | 2011-05-25 16:26:16 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-05-25 16:29:23 -0700 |
commit | 20bb6c88f705531d36b7728b9f3cbb7042ef9513 (patch) | |
tree | 1ee37e20fff548f3724ba3a74eda53bb144bfc2f /src/com/android/launcher2/CustomizeTrayTabHost.java | |
parent | ed4c1f1eaddd23ea3a19750533e84d7411334534 (diff) | |
download | packages_apps_trebuchet-20bb6c88f705531d36b7728b9f3cbb7042ef9513.zip packages_apps_trebuchet-20bb6c88f705531d36b7728b9f3cbb7042ef9513.tar.gz packages_apps_trebuchet-20bb6c88f705531d36b7728b9f3cbb7042ef9513.tar.bz2 |
Fixing the customize drawer tabs on large devices
Diffstat (limited to 'src/com/android/launcher2/CustomizeTrayTabHost.java')
-rw-r--r-- | src/com/android/launcher2/CustomizeTrayTabHost.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/com/android/launcher2/CustomizeTrayTabHost.java b/src/com/android/launcher2/CustomizeTrayTabHost.java index 6306bda..c6a39b3 100644 --- a/src/com/android/launcher2/CustomizeTrayTabHost.java +++ b/src/com/android/launcher2/CustomizeTrayTabHost.java @@ -77,19 +77,23 @@ public class CustomizeTrayTabHost extends TabHost implements LauncherTransitiona TextView tabView; TabWidget tabWidget = (TabWidget) findViewById(com.android.internal.R.id.tabs); - tabView = (TextView) mInflater.inflate(R.layout.tab_widget_indicator, tabWidget, false); + tabView = (TextView) mInflater.inflate( + R.layout.customize_tab_widget_indicator, tabWidget, false); tabView.setText(mContext.getString(R.string.widgets_tab_label)); addTab(newTabSpec(WIDGETS_TAG) .setIndicator(tabView).setContent(contentFactory)); - tabView = (TextView) mInflater.inflate(R.layout.tab_widget_indicator, tabWidget, false); + tabView = (TextView) mInflater.inflate( + R.layout.customize_tab_widget_indicator, tabWidget, false); tabView.setText(mContext.getString(R.string.applications_tab_label)); addTab(newTabSpec(APPLICATIONS_TAG) .setIndicator(tabView).setContent(contentFactory)); - tabView = (TextView) mInflater.inflate(R.layout.tab_widget_indicator, tabWidget, false); + tabView = (TextView) mInflater.inflate( + R.layout.customize_tab_widget_indicator, tabWidget, false); tabView.setText(mContext.getString(R.string.wallpapers_tab_label)); addTab(newTabSpec(WALLPAPERS_TAG) .setIndicator(tabView).setContent(contentFactory)); - tabView = (TextView) mInflater.inflate(R.layout.tab_widget_indicator, tabWidget, false); + tabView = (TextView) mInflater.inflate( + R.layout.customize_tab_widget_indicator, tabWidget, false); tabView.setText(mContext.getString(R.string.shortcuts_tab_label)); addTab(newTabSpec(SHORTCUTS_TAG) .setIndicator(tabView).setContent(contentFactory)); |