• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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<LinearLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical"
21    android:minWidth="254dp" >
22
23    <TextView
24        android:id="@+id/wrong_password_warning_label"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:visibility="gone"
28        android:paddingTop="16dip"
29        android:paddingBottom="16dip"
30        android:text="@string/password_warning_label"
31        android:textColor="@color/password_warning_color"/>
32
33    <TextView
34        android:id="@+id/email_confirmation_label"
35        android:layout_width="match_parent"
36        android:layout_height="wrap_content"
37        android:visibility="gone"
38        android:textStyle="bold"
39        android:text="@string/email_confirmation_label"
40        android:textColor="@color/email_confirmation_color"/>
41
42    <TextView
43        android:id="@+id/email_confirmation"
44        android:layout_width="match_parent"
45        android:layout_height="wrap_content"
46        android:visibility="gone"
47        android:paddingBottom="24dip"
48        android:textColor="@color/email_confirmation_color"/>
49
50    <EditText
51        android:id="@+id/regular_password"
52        android:layout_height="wrap_content"
53        android:layout_width="match_parent"
54        android:hint="@string/password_hint"
55        android:inputType="textPassword"
56        android:imeOptions="actionDone"
57        android:visibility="gone"/>
58
59    <LinearLayout
60            android:id="@+id/oauth_group"
61            android:layout_width="match_parent"
62            android:layout_height="wrap_content"
63            android:orientation="vertical"
64            android:visibility="gone">
65        <EditText
66                android:id="@+id/imap_password"
67                android:layout_height="wrap_content"
68                android:layout_width="match_parent"
69                android:hint="@string/password_hint"
70                android:layout_gravity="center"
71                android:inputType="textPassword"
72                android:imeOptions="actionDone"/>
73        <TextView
74                android:id="@+id/or_label"
75                android:text="@string/or_label"
76                android:layout_marginTop="24dip"
77                android:layout_marginBottom="24dip"
78                android:layout_gravity="center"
79                android:layout_width="wrap_content"
80                android:layout_height="wrap_content"/>
81        <Button
82                android:id="@+id/sign_in_with_oauth"
83                android:text="@string/sign_in_with_google"
84                android:layout_gravity="center"
85                android:layout_width="wrap_content"
86                android:paddingLeft="20dp"
87                android:paddingRight="20dp"
88                android:layout_height="wrap_content"/>
89    </LinearLayout>
90
91    <include
92        android:id="@+id/client_certificate_selector"
93        layout="@layout/client_certificate_selector"
94        android:visibility="gone" />
95
96    <LinearLayout
97        android:id="@+id/device_id_section"
98        android:layout_width="match_parent"
99        android:layout_height="wrap_content"
100        android:orientation="vertical"
101        android:visibility="gone">
102
103        <TextView
104            android:text="@string/account_setup_exchange_device_id_label"
105            android:layout_height="wrap_content"
106            android:layout_width="match_parent"
107            android:textColor="?android:attr/textColorPrimary" />
108
109        <TextView
110            android:id="@+id/device_id"
111            android:layout_height="wrap_content"
112            android:layout_width="match_parent"
113            android:textAppearance="?android:attr/textAppearanceMedium"
114            android:textColor="#ffbebebe" />
115
116    </LinearLayout>
117
118</LinearLayout>
119