diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-09-24 17:30:22 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2012-09-25 12:55:37 -0700 |
commit | 369dd0c3e62f7ee8204f13b2d2eb390a7f07b46f (patch) | |
tree | 776d74e300ccb8ad7cc3522083d9c22d28acbca5 | |
parent | 9e05a5ea951b4d5ffce324da8dd0656353306e6f (diff) | |
download | android_packages_apps_Trebuchet-369dd0c3e62f7ee8204f13b2d2eb390a7f07b46f.tar.gz android_packages_apps_Trebuchet-369dd0c3e62f7ee8204f13b2d2eb390a7f07b46f.tar.bz2 android_packages_apps_Trebuchet-369dd0c3e62f7ee8204f13b2d2eb390a7f07b46f.zip |
7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest
- add basic RTL support in the AndroidManifest so that Widgets will be able
to support RTL too
- force LTR layout direction to AppsCustomizeTabHost so that we dont have to
deal with layout mirroring yet
(do not need to force also LTR layout direction to Wallpaper activity and fragment
as another CL is removing the ActionBar on them)
Change-Id: I66623a3fcec0d7adef62b0ab8c8b2170e09f1b1b
-rw-r--r-- | AndroidManifest.xml | 3 | ||||
-rw-r--r-- | res/layout/apps_customize_pane.xml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d0ca53edb..971efe60a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -66,7 +66,8 @@ android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:hardwareAccelerated="true" - android:largeHeap="@bool/config_largeHeap"> + android:largeHeap="@bool/config_largeHeap" + android:supportsRtl="true"> <activity android:name="com.android.launcher2.Launcher" android:launchMode="singleTask" diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index efd29a673..41ba9e21e 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -22,7 +22,8 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" - android:visibility="gone"> + android:visibility="gone" + android:layoutDirection="ltr"> <!-- The layout_width of the tab bar gets overriden to align the content with the text in the tabs in AppsCustomizeTabHost. --> <FrameLayout |