diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-06-10 14:19:18 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2011-06-10 14:30:32 -0700 |
commit | 26e432d25f2ba199ae8b762fc68da8463389dd9b (patch) | |
tree | 3780992b8f91a23087f85fcb1eef069fe9b02927 /tests/BiDiTests/res/layout/relative_layout_ltr.xml | |
parent | 6b6091a14032c02ce2ba5600a651166ac0102290 (diff) | |
download | frameworks_base-26e432d25f2ba199ae8b762fc68da8463389dd9b.zip frameworks_base-26e432d25f2ba199ae8b762fc68da8463389dd9b.tar.gz frameworks_base-26e432d25f2ba199ae8b762fc68da8463389dd9b.tar.bz2 |
Make View respect LAYOUT_DIRECTION_LOCALE
- update also unit tests for taking care of the locale direction
- code formatting on the layout test files
Change-Id: I4037eac3c572de9abb0178f36ca03803cc2c1522
Diffstat (limited to 'tests/BiDiTests/res/layout/relative_layout_ltr.xml')
-rw-r--r-- | tests/BiDiTests/res/layout/relative_layout_ltr.xml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tests/BiDiTests/res/layout/relative_layout_ltr.xml b/tests/BiDiTests/res/layout/relative_layout_ltr.xml index d789707..e9e8661 100644 --- a/tests/BiDiTests/res/layout/relative_layout_ltr.xml +++ b/tests/BiDiTests/res/layout/relative_layout_ltr.xml @@ -15,74 +15,74 @@ --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/frame_layout_ltr" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layoutDirection="ltr" - android:background="#FF000000"> + android:id="@+id/frame_layout_ltr" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layoutDirection="ltr" + android:background="#FF000000"> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="right|center_vertical" android:background="#FFFF0000"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="left|center_vertical" android:background="#FF00FF00"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="top|center_horizontal" android:background="#FF0000FF"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="bottom|center_horizontal" android:background="#FF00FFFF"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="top|start" android:background="#FFFFFFFF"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="top|end" android:background="#FFFFFF00"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="bottom|start" android:background="#FFFFFFFF"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="bottom|end" android:background="#FFFFFF00"> - </RelativeLayout> + </RelativeLayout> - <RelativeLayout + <RelativeLayout android:layout_width="100dp" android:layout_height="100dp" android:layout_gravity="center_horizontal|center_vertical" android:background="#FF888888"> - </RelativeLayout> + </RelativeLayout> </FrameLayout> |