From f8e0c76e0326440e6371e8eaf88c446e565ee732 Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Fri, 3 Jun 2011 14:13:42 -0700 Subject: [PATCH] Making customize mode tabs more compact - reducing padding in portrait mode - changed "App shortcuts" -> "Apps" - fixes issues with Spanish and other languages in portrait mode and small devices Change-Id: I1e1d57873785421d37cfd9d78f9e6314e49ff1ac --- res/values-xlarge-port/styles.xml | 25 +++++++++++++++++++ .../launcher2/CustomizeTrayTabHost.java | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 res/values-xlarge-port/styles.xml diff --git a/res/values-xlarge-port/styles.xml b/res/values-xlarge-port/styles.xml new file mode 100644 index 0000000000..2c5f5bb6e6 --- /dev/null +++ b/res/values-xlarge-port/styles.xml @@ -0,0 +1,25 @@ + + + + + + diff --git a/src/com/android/launcher2/CustomizeTrayTabHost.java b/src/com/android/launcher2/CustomizeTrayTabHost.java index e1ba700aee..c261bfb9cd 100644 --- a/src/com/android/launcher2/CustomizeTrayTabHost.java +++ b/src/com/android/launcher2/CustomizeTrayTabHost.java @@ -81,7 +81,7 @@ public class CustomizeTrayTabHost extends TabHost implements LauncherTransitiona .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)); + tabView.setText(mContext.getString(R.string.all_apps_tab_apps)); addTab(newTabSpec(APPLICATIONS_TAG) .setIndicator(tabView).setContent(contentFactory)); tabView = (TextView) mInflater.inflate(