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 <GridLayout
     18         xmlns:android="http://schemas.android.com/apk/res/android"
     19 
     20         android:layout_width="match_parent"
     21         android:layout_height="match_parent"
     22 
     23         android:useDefaultMargins="true"
     24         android:alignmentMode="alignBounds"
     25         android:rowOrderPreserved="false"
     26 
     27         android:columnCount="4"
     28         >
     29 
     30     <TextView
     31             android:text="Email setup"
     32             android:textSize="32dip"
     33 
     34             android:layout_columnSpan="4"
     35             android:layout_gravity="center_horizontal"
     36             />
     37 
     38     <TextView
     39             android:text="You can configure email in just a few steps:"
     40             android:textSize="16dip"
     41 
     42             android:layout_columnSpan="4"
     43             android:layout_gravity="left"
     44             />
     45 
     46     <TextView
     47             android:text="Email address:"
     48 
     49             android:layout_gravity="right"
     50             />
     51 
     52     <EditText
     53             android:ems="10"
     54             />
     55 
     56     <TextView
     57             android:text="Password:"
     58 
     59             android:layout_column="0"
     60             android:layout_gravity="right"
     61             />
     62 
     63     <EditText
     64             android:ems="8"
     65             />
     66 
     67     <Space
     68             android:layout_row="2"
     69             android:layout_rowSpan="3"
     70             android:layout_column="2"
     71             android:layout_gravity="fill"
     72             />
     73 
     74     <Button
     75             android:text="Manual setup"
     76 
     77             android:layout_row="5"
     78             android:layout_column="3"
     79             />
     80 
     81     <Button
     82             android:text="Next"
     83 
     84             android:layout_column="3"
     85             android:layout_gravity="fill_horizontal"
     86             />
     87 </GridLayout>
     88