Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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/grid_layout_rtl"
     19         android:layout_width="fill_parent"
     20         android:layout_height="fill_parent">
     21 
     22 
     23     <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
     24             android:layout_width="match_parent"
     25             android:layout_height="match_parent"
     26             android:useDefaultMargins="true"
     27             android:alignmentMode="alignBounds"
     28             android:columnOrderPreserved="false"
     29             android:columnCount="4"
     30             android:layoutDirection="rtl">
     31 
     32         <TextView
     33                 android:text="Email setup"
     34                 android:textSize="32dip"
     35 
     36                 android:layout_columnSpan="4"
     37                 android:layout_gravity="center_horizontal"/>
     38 
     39         <TextView
     40                 android:text="You can configure email in just a few steps:"
     41                 android:textSize="16dip"
     42                 android:layout_columnSpan="4"
     43                 android:layout_gravity="left"/>
     44 
     45         <TextView
     46                 android:text="Email address:"
     47                 android:layout_gravity="right"/>
     48 
     49         <EditText
     50                 android:ems="10"/>
     51 
     52         <TextView
     53                 android:text="Password:"
     54                 android:layout_column="0"
     55                 android:layout_gravity="right"/>
     56 
     57         <EditText
     58                 android:ems="8"/>
     59 
     60         <TextView
     61                 android:text="You can configure email in just a few steps:"
     62                 android:textSize="16dip"
     63                 android:layout_columnSpan="4"
     64                 android:layout_gravity="end"/>
     65 
     66         <TextView
     67                 android:text="Email address:"
     68                 android:layout_gravity="start"/>
     69 
     70         <EditText
     71                 android:ems="10"/>
     72 
     73         <TextView
     74                 android:text="Password:"
     75                 android:layout_column="0"
     76                 android:layout_gravity="start"/>
     77 
     78         <EditText
     79                 android:ems="8"/>
     80 
     81         <Space
     82                 android:layout_row="4"
     83                 android:layout_column="0"
     84                 android:layout_columnSpan="3"
     85                 android:layout_gravity="fill"
     86                 />
     87 
     88         <Button
     89                 android:text="Next"
     90                 android:layout_row="5"
     91                 android:layout_column="3"/>
     92 
     93     </GridLayout>
     94 
     95 </FrameLayout>