summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/BiDiTests/res/layout')
-rw-r--r--tests/BiDiTests/res/layout/basic.xml21
1 files changed, 18 insertions, 3 deletions
diff --git a/tests/BiDiTests/res/layout/basic.xml b/tests/BiDiTests/res/layout/basic.xml
index ed91c49..18f193e 100644
--- a/tests/BiDiTests/res/layout/basic.xml
+++ b/tests/BiDiTests/res/layout/basic.xml
@@ -34,17 +34,32 @@
android:textSize="32dip"
/>
- <TextView android:id="@+id/textview"
+ <TextView android:id="@+id/textview_ltr"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textSize="32dip"
- android:text="@string/textview_text"
+ android:text="@string/textview_ltr_text"
/>
- <EditText android:id="@+id/edittext"
+ <EditText android:id="@+id/edittext_ltr"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:textSize="32dip"
+ android:textDirection="ltr"
+ />
+
+ <TextView android:id="@+id/textview_rtl"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:textSize="32dip"
+ android:text="@string/textview_rtl_text"
+ />
+
+ <EditText android:id="@+id/edittext_rtl"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:textSize="32dip"
+ android:textDirection="rtl"
/>
</LinearLayout>