diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2013-09-05 13:25:20 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-01-27 10:31:04 -0800 |
commit | 8930cb4f37ff0fbde65f7afd4bbe06ab77677f78 (patch) | |
tree | e5b4d584f4b71c984aed4217afaf7779bfaf8b87 /tools/layoutlib/bridge/Android.mk | |
parent | 7cce7bb5d8d68e78a414c176dc89a803f706c9ce (diff) | |
download | frameworks_base-8930cb4f37ff0fbde65f7afd4bbe06ab77677f78.zip frameworks_base-8930cb4f37ff0fbde65f7afd4bbe06ab77677f78.tar.gz frameworks_base-8930cb4f37ff0fbde65f7afd4bbe06ab77677f78.tar.bz2 |
Fix layout rendering for RTL locales
This changeset adds the framework resources for RTL locales and mirrors
the layout if the application is RTL aware.
Use ICU to check the character orientation of the locale - right to left
or left to right. Set the layout direction on the top level layout
accordingly. Also, load the RTL resources for Nav Bar when the locale is
RTL.
Change-Id: Icbb57ee2ac7c6d8dfc34c2f04dce34d820b9b1ed
Diffstat (limited to 'tools/layoutlib/bridge/Android.mk')
-rw-r--r-- | tools/layoutlib/bridge/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/Android.mk b/tools/layoutlib/bridge/Android.mk index 687a91f..e3d48fc 100644 --- a/tools/layoutlib/bridge/Android.mk +++ b/tools/layoutlib/bridge/Android.mk @@ -22,6 +22,7 @@ LOCAL_JAVA_RESOURCE_DIRS := resources LOCAL_JAVA_LIBRARIES := \ kxml2-2.3.0 \ + icu4j \ layoutlib_api-prebuilt \ tools-common-prebuilt |