1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/frame_layout_locale"
19        android:layout_width="fill_parent"
20        android:layout_height="fill_parent">
21
22    <FrameLayout android:layout_width="match_parent"
23                 android:layout_height="match_parent"
24                 android:layoutDirection="locale"
25                 android:background="#FF000000">
26
27        <FrameLayout
28                android:layout_width="100dp"
29                android:layout_height="100dp"
30                android:layout_gravity="right|center_vertical"
31                android:background="#FFFF0000">
32        </FrameLayout>
33
34        <FrameLayout
35                android:layout_width="100dp"
36                android:layout_height="100dp"
37                android:layout_gravity="left|center_vertical"
38                android:background="#FF00FF00">
39        </FrameLayout>
40
41        <FrameLayout
42                android:layout_width="100dp"
43                android:layout_height="100dp"
44                android:layout_gravity="top|center_horizontal"
45                android:background="#FF0000FF">
46        </FrameLayout>
47
48        <FrameLayout
49                android:layout_width="100dp"
50                android:layout_height="100dp"
51                android:layout_gravity="bottom|center_horizontal"
52                android:background="#FF00FFFF">
53        </FrameLayout>
54
55        <FrameLayout
56                android:layout_width="100dp"
57                android:layout_height="100dp"
58                android:layout_gravity="top|start"
59                android:background="#FFFFFFFF">
60        </FrameLayout>
61
62        <FrameLayout
63                android:layout_width="100dp"
64                android:layout_height="100dp"
65                android:layout_gravity="top|end"
66                android:background="#FFFFFF00">
67        </FrameLayout>
68
69        <FrameLayout
70                android:layout_width="100dp"
71                android:layout_height="100dp"
72                android:layout_gravity="bottom|start"
73                android:background="#FFFFFFFF">
74        </FrameLayout>
75
76        <FrameLayout
77                android:layout_width="100dp"
78                android:layout_height="100dp"
79                android:layout_gravity="bottom|end"
80                android:background="#FFFFFF00">
81        </FrameLayout>
82
83        <FrameLayout
84                android:layout_width="100dp"
85                android:layout_height="100dp"
86                android:layout_gravity="center_horizontal|center_vertical"
87                android:background="#FF888888">
88        </FrameLayout>
89
90    </FrameLayout>
91
92</FrameLayout>
93