diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-07-15 19:18:59 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2011-07-18 15:59:10 -0700 |
commit | c6f247ca31e5d4a9cc9d130cfb0abd5657176303 (patch) | |
tree | 7258e6b47c4f7a1f6110cacf6af40043bbcc36ed /tests/BiDiTests/res/values | |
parent | 1a1d731c9cc0209570472a9c8b6e59da0b545968 (diff) | |
download | frameworks_base-c6f247ca31e5d4a9cc9d130cfb0abd5657176303.zip frameworks_base-c6f247ca31e5d4a9cc9d130cfb0abd5657176303.tar.gz frameworks_base-c6f247ca31e5d4a9cc9d130cfb0abd5657176303.tar.bz2 |
Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing
Change-Id: Ic71a563ad0f4ba6de5b7f030f04a3a9615b7617c
Diffstat (limited to 'tests/BiDiTests/res/values')
-rw-r--r-- | tests/BiDiTests/res/values/attrs.xml | 8 | ||||
-rw-r--r-- | tests/BiDiTests/res/values/strings.xml | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/BiDiTests/res/values/attrs.xml b/tests/BiDiTests/res/values/attrs.xml new file mode 100644 index 0000000..7f8a1d8 --- /dev/null +++ b/tests/BiDiTests/res/values/attrs.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <declare-styleable name="DrawTextTestView"> + <attr name="size" format="dimension" /> + <attr name="color" format="color" /> + <attr name="text" format="string" /> + </declare-styleable> +</resources>
\ No newline at end of file diff --git a/tests/BiDiTests/res/values/strings.xml b/tests/BiDiTests/res/values/strings.xml index bc99e79..1f6be7f 100644 --- a/tests/BiDiTests/res/values/strings.xml +++ b/tests/BiDiTests/res/values/strings.xml @@ -42,5 +42,8 @@ <string name="textview_hebrew_text">םמab?!</string> <string name="textview_latin_text">abםמ?!</string> <string name="textview_multiline_text">םמ?!\nab?!\n?!</string> + <string name="ltr">Left to right text"</string> + <string name="rtl">"والحق أن تترك ونص"</string> + <string name="composing">"\u0644\u0627"</string> </resources> |