summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests/res/layout/view_padding_mixed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/BiDiTests/res/layout/view_padding_mixed.xml')
-rw-r--r--tests/BiDiTests/res/layout/view_padding_mixed.xml47
1 files changed, 46 insertions, 1 deletions
diff --git a/tests/BiDiTests/res/layout/view_padding_mixed.xml b/tests/BiDiTests/res/layout/view_padding_mixed.xml
index 092f55b..c916ffb 100644
--- a/tests/BiDiTests/res/layout/view_padding_mixed.xml
+++ b/tests/BiDiTests/res/layout/view_padding_mixed.xml
@@ -20,7 +20,8 @@
android:layout_height="fill_parent">
<FrameLayout android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="#FFFFFFFF">
<FrameLayout
android:layout_width="300dp"
@@ -79,6 +80,28 @@
<FrameLayout
android:layout_width="300dp"
android:layout_height="300dp"
+ android:layout_gravity="top|right"
+ android:background="@*android:drawable/dialog_full_holo_dark"
+ android:layoutDirection="ltr">
+
+ <FrameLayout
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_gravity="top|left"
+ android:background="#FF0000FF">
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_gravity="bottom|right"
+ android:background="#FFFFFFFF">
+ </FrameLayout>
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="300dp"
+ android:layout_height="300dp"
android:layout_gravity="bottom|left"
android:background="#FF888888"
android:paddingTop="20dip"
@@ -130,6 +153,28 @@
</FrameLayout>
</FrameLayout>
+ <FrameLayout
+ android:layout_width="300dp"
+ android:layout_height="300dp"
+ android:layout_gravity="bottom|right"
+ android:background="@*android:drawable/menu_background_fill_parent_width"
+ android:layoutDirection="ltr">
+
+ <FrameLayout
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_gravity="top|left"
+ android:background="#FF0000FF">
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_gravity="bottom|right"
+ android:background="#FFFFFFFF">
+ </FrameLayout>
+ </FrameLayout>
+
</FrameLayout>
</FrameLayout>