Home | History | Annotate | Download | only in layout
      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/linear_layout_locale"
     19         android:layout_width="fill_parent"
     20         android:layout_height="fill_parent">
     21         
     22     <LinearLayout android:orientation="vertical"
     23                   android:layout_width="match_parent"
     24                   android:layout_height="match_parent"
     25                   android:layoutDirection="locale">
     26     
     27         <LinearLayout android:orientation="horizontal"
     28                       android:layout_width="match_parent"
     29                       android:layout_height="wrap_content">
     30     
     31             <Button android:layout_height="wrap_content"
     32                     android:layout_width="wrap_content"
     33                     android:text="@string/button1_text"
     34                     android:textSize="24dip"
     35                     />
     36     
     37             <TextView android:id="@+id/textview"
     38                       android:layout_height="wrap_content"
     39                       android:layout_width="wrap_content"
     40                       android:textSize="24dip"
     41                       android:text="@string/textview_text"
     42                     />
     43     
     44             <Button android:layout_height="wrap_content"
     45                     android:layout_width="wrap_content"
     46                     android:text="@string/button2_text"
     47                     android:textSize="24dip"
     48                     />
     49         </LinearLayout>
     50     
     51         <LinearLayout android:orientation="horizontal"
     52                       android:layout_width="match_parent"
     53                       android:layout_height="wrap_content"
     54                       android:layoutDirection="inherit">
     55     
     56             <Button android:layout_height="wrap_content"
     57                     android:layout_width="wrap_content"
     58                     android:text="@string/button1_text"
     59                     android:textSize="24dip"
     60                     />
     61     
     62             <TextView android:id="@+id/textview"
     63                       android:layout_height="wrap_content"
     64                       android:layout_width="wrap_content"
     65                       android:textSize="24dip"
     66                       android:text="@string/textview_text"
     67                     />
     68     
     69             <Button android:layout_height="wrap_content"
     70                     android:layout_width="wrap_content"
     71                     android:text="@string/button2_text"
     72                     android:textSize="24dip"
     73                     />
     74         </LinearLayout>
     75     
     76         <LinearLayout android:orientation="horizontal"
     77                       android:layout_width="match_parent"
     78                       android:layout_height="wrap_content"
     79                       android:layoutDirection="ltr">
     80     
     81             <Button android:layout_height="wrap_content"
     82                     android:layout_width="wrap_content"
     83                     android:text="@string/button1_text"
     84                     android:textSize="24dip"
     85                     />
     86     
     87             <TextView android:id="@+id/textview"
     88                       android:layout_height="wrap_content"
     89                       android:layout_width="wrap_content"
     90                       android:textSize="24dip"
     91                       android:text="@string/textview_text"
     92                     />
     93     
     94             <Button android:layout_height="wrap_content"
     95                     android:layout_width="wrap_content"
     96                     android:text="@string/button2_text"
     97                     android:textSize="24dip"
     98                     />
     99         </LinearLayout>
    100     
    101         <LinearLayout android:orientation="horizontal"
    102                       android:layout_width="match_parent"
    103                       android:layout_height="wrap_content"
    104                       android:layoutDirection="rtl">
    105     
    106             <Button android:layout_height="wrap_content"
    107                     android:layout_width="wrap_content"
    108                     android:text="@string/button1_text"
    109                     android:textSize="24dip"
    110                     />
    111     
    112             <TextView android:id="@+id/textview"
    113                       android:layout_height="wrap_content"
    114                       android:layout_width="wrap_content"
    115                       android:textSize="24dip"
    116                       android:text="@string/textview_text"
    117                     />
    118     
    119             <Button android:layout_height="wrap_content"
    120                     android:layout_width="wrap_content"
    121                     android:text="@string/button2_text"
    122                     android:textSize="24dip"
    123                     />
    124         </LinearLayout>
    125     
    126         <LinearLayout android:orientation="horizontal"
    127                       android:layout_width="match_parent"
    128                       android:layout_height="wrap_content"
    129                       android:layoutDirection="locale">
    130     
    131             <Button android:layout_height="wrap_content"
    132                     android:layout_width="wrap_content"
    133                     android:text="@string/button1_text"
    134                     android:textSize="24dip"
    135                     />
    136     
    137             <TextView android:id="@+id/textview"
    138                       android:layout_height="wrap_content"
    139                       android:layout_width="wrap_content"
    140                       android:textSize="24dip"
    141                       android:text="@string/textview_text"
    142                     />
    143     
    144             <Button android:layout_height="wrap_content"
    145                     android:layout_width="wrap_content"
    146                     android:text="@string/button2_text"
    147                     android:textSize="24dip"
    148                     />
    149         </LinearLayout>
    150     
    151         <LinearLayout android:orientation="vertical"
    152                       android:layout_width="match_parent"
    153                       android:layout_height="wrap_content"
    154                       android:layoutDirection="inherit">
    155     
    156             <Button android:layout_height="wrap_content"
    157                     android:layout_width="wrap_content"
    158                     android:text="@string/button1_text"
    159                     android:textSize="24dip"
    160                     />
    161     
    162             <TextView android:id="@+id/textview"
    163                       android:layout_height="wrap_content"
    164                       android:layout_width="wrap_content"
    165                       android:textSize="24dip"
    166                       android:text="@string/textview_text"
    167                     />
    168     
    169             <Button android:layout_height="wrap_content"
    170                     android:layout_width="wrap_content"
    171                     android:text="@string/button2_text"
    172                     android:textSize="24dip"
    173                     />
    174         </LinearLayout>
    175     
    176         <LinearLayout android:orientation="vertical"
    177                       android:layout_width="match_parent"
    178                       android:layout_height="wrap_content"
    179                       android:layoutDirection="ltr">
    180     
    181             <Button android:layout_height="wrap_content"
    182                     android:layout_width="wrap_content"
    183                     android:text="@string/button1_text"
    184                     android:textSize="24dip"
    185                     />
    186     
    187             <TextView android:id="@+id/textview"
    188                       android:layout_height="wrap_content"
    189                       android:layout_width="wrap_content"
    190                       android:textSize="24dip"
    191                       android:text="@string/textview_text"
    192                     />
    193     
    194             <Button android:layout_height="wrap_content"
    195                     android:layout_width="wrap_content"
    196                     android:text="@string/button2_text"
    197                     android:textSize="24dip"
    198                     />
    199         </LinearLayout>
    200     
    201         <LinearLayout android:orientation="vertical"
    202                       android:layout_width="match_parent"
    203                       android:layout_height="wrap_content"
    204                       android:layoutDirection="rtl">
    205     
    206             <Button android:layout_height="wrap_content"
    207                     android:layout_width="wrap_content"
    208                     android:text="@string/button1_text"
    209                     android:textSize="24dip"
    210                     />
    211     
    212             <TextView android:id="@+id/textview"
    213                       android:layout_height="wrap_content"
    214                       android:layout_width="wrap_content"
    215                       android:textSize="24dip"
    216                       android:text="@string/textview_text"
    217                     />
    218     
    219             <Button android:layout_height="wrap_content"
    220                     android:layout_width="wrap_content"
    221                     android:text="@string/button2_text"
    222                     android:textSize="24dip"
    223                     />
    224         </LinearLayout>
    225     
    226         <LinearLayout android:orientation="vertical"
    227                       android:layout_width="match_parent"
    228                       android:layout_height="wrap_content"
    229                       android:layoutDirection="locale">
    230     
    231             <Button android:layout_height="wrap_content"
    232                     android:layout_width="wrap_content"
    233                     android:text="@string/button1_text"
    234                     android:textSize="24dip"
    235                     />
    236     
    237             <TextView android:id="@+id/textview"
    238                       android:layout_height="wrap_content"
    239                       android:layout_width="wrap_content"
    240                       android:textSize="24dip"
    241                       android:text="@string/textview_text"
    242                     />
    243     
    244             <Button android:layout_height="wrap_content"
    245                     android:layout_width="wrap_content"
    246                     android:text="@string/button2_text"
    247                     android:textSize="24dip"
    248                     />
    249         </LinearLayout>
    250     
    251     </LinearLayout>
    252 
    253 </FrameLayout>