Show navigation Hide navigation
MediaRouter / res / layout-land /

grid_layout_2.xml

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
<android.support.v7.widget.GridLayout
18
    xmlns:android="http://schemas.android.com/apk/res/android"
19
    android:layout_width="match_parent"
20
    android:layout_height="match_parent"
21
    android:useDefaultMargins="true"
22
    android:alignmentMode="alignBounds"
23
    android:rowOrderPreserved="false"
24
    android:columnCount="4"
25
    >
26
    <TextView
27
        android:text="Email setup"
28
        android:textSize="32dip"
29
        android:layout_columnSpan="4"
30
        android:layout_gravity="center_horizontal"
31
    />
32
    <TextView
33
        android:text="You can configure email in a few simple steps:"
34
        android:textSize="16dip"
35
        android:layout_columnSpan="4"
36
        android:layout_gravity="left"
37
    />
38
    <TextView
39
        android:text="Email address:"
40
        android:layout_gravity="right"
41
    />
42
    <EditText
43
        android:ems="10"
44
    />
45
    <TextView
46
        android:text="Password:"
47
        android:layout_column="0"
48
        android:layout_gravity="right"
49
    />
50
    <EditText
51
        android:ems="8"
52
    />
53
    <Button
54
        android:text="Manual setup"
55
        android:layout_row="5"
56
        android:layout_column="3"
57
    />
58
    <Button
59
        android:text="Next"
60
        android:layout_column="3"
61
        android:layout_gravity="fill_horizontal"
62
    />
63
</android.support.v7.widget.GridLayout>