diff --git a/res/layout-large/customize_tab_widget_indicator.xml b/res/layout-large/customize_tab_widget_indicator.xml new file mode 100644 index 0000000000..186a34294d --- /dev/null +++ b/res/layout-large/customize_tab_widget_indicator.xml @@ -0,0 +1,19 @@ + + + + diff --git a/res/values-large-port/styles.xml b/res/values-large-port/styles.xml new file mode 100644 index 0000000000..ba23a89d3b --- /dev/null +++ b/res/values-large-port/styles.xml @@ -0,0 +1,28 @@ + + + + + + diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml index bcbe038ac6..ebb26f566e 100644 --- a/res/values-large/styles.xml +++ b/res/values-large/styles.xml @@ -50,6 +50,9 @@ 20sp + + diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml new file mode 100644 index 0000000000..fdf2f1970e --- /dev/null +++ b/res/values-xlarge/styles.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/src/com/android/launcher2/CustomizeTrayTabHost.java b/src/com/android/launcher2/CustomizeTrayTabHost.java index 6306bdae41..c6a39b377d 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));