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_locale"
     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="locale">
     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         <Space
     61                 android:layout_row="4"
     62                 android:layout_column="0"
     63                 android:layout_columnSpan="3"
     64                 android:layout_gravity="fill"
     65                 />
     66 
     67         <Button
     68                 android:text="Next"
     69                 android:layout_row="5"
     70                 android:layout_column="3"/>
     71 
     72     </GridLayout>
     73 
     74 </FrameLayout>