diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-08-05 15:04:12 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2011-08-05 15:04:12 -0700 |
commit | fd0b623c33393ba3144c5375380ea076469b67f9 (patch) | |
tree | e30c91c7ad91ae8a1e974ffd133b8e23097d3903 /tests/BiDiTests/res/layout | |
parent | 6850c7aff5b08225ab1793dd721a795cb4192f6f (diff) | |
download | frameworks_base-fd0b623c33393ba3144c5375380ea076469b67f9.zip frameworks_base-fd0b623c33393ba3144c5375380ea076469b67f9.tar.gz frameworks_base-fd0b623c33393ba3144c5375380ea076469b67f9.tar.bz2 |
Update BiDi unit tests
- update basic layout for having LTR and RTL TextView
Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
Diffstat (limited to 'tests/BiDiTests/res/layout')
-rw-r--r-- | tests/BiDiTests/res/layout/basic.xml | 21 |
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> |