summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/resources
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2013-09-05 13:25:20 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-01-27 10:31:04 -0800
commit8930cb4f37ff0fbde65f7afd4bbe06ab77677f78 (patch)
treee5b4d584f4b71c984aed4217afaf7779bfaf8b87 /tools/layoutlib/bridge/resources
parent7cce7bb5d8d68e78a414c176dc89a803f706c9ce (diff)
downloadframeworks_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/resources')
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.pngbin0 -> 904 bytes
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.pngbin0 -> 533 bytes
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.pngbin0 -> 617 bytes
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.pngbin0 -> 423 bytes
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.pngbin0 -> 1250 bytes
-rw-r--r--tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.pngbin0 -> 552 bytes
6 files changed, 0 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png b/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
new file mode 100644
index 0000000..782ebfe
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
Binary files differ
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png b/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
new file mode 100644
index 0000000..677b471
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
Binary files differ
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png b/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
new file mode 100644
index 0000000..a1b8062
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
Binary files differ
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png b/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
new file mode 100644
index 0000000..fcdbefe
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
Binary files differ
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png b/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
new file mode 100644
index 0000000..633d864
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
Binary files differ
diff --git a/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png b/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
new file mode 100644
index 0000000..4665e2a
--- /dev/null
+++ b/tools/layoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
Binary files differ