summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-05-25 16:26:16 -0700
committerMichael Jurka <mikejurka@google.com>2011-05-25 23:08:19 -0700
commit661a26694250987cf71c69de0987e3fd209a0c6f (patch)
tree97d6ad4ec3883ba0dddda397ae1176b725c2c2df /src
parent87b1490c5a100619648b251cb2be05c457bede08 (diff)
downloadandroid_packages_apps_Trebuchet-661a26694250987cf71c69de0987e3fd209a0c6f.tar.gz
android_packages_apps_Trebuchet-661a26694250987cf71c69de0987e3fd209a0c6f.tar.bz2
android_packages_apps_Trebuchet-661a26694250987cf71c69de0987e3fd209a0c6f.zip
Fixing the customize drawer tabs on large devices
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/CustomizeTrayTabHost.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/com/android/launcher2/CustomizeTrayTabHost.java b/src/com/android/launcher2/CustomizeTrayTabHost.java
index b6c55f8b7..e1ba700ae 100644
--- a/src/com/android/launcher2/CustomizeTrayTabHost.java
+++ b/src/com/android/launcher2/CustomizeTrayTabHost.java
@@ -74,18 +74,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);
+ addTab(newTabSpec(WIDGETS_TAG)
+ .setIndicator(tabView).setContent(contentFactory));
+ 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));