• 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
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content">
20
21    <LinearLayout
22        android:id="@+id/no_auth_wrapper"
23        android:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:orientation="horizontal">
26        <TextView
27            android:id="@+id/add_authentication"
28            android:text="@string/add_authentication_label"
29            android:layout_height="wrap_content"
30            android:layout_width="match_parent"
31            android:layout_weight="1"
32            android:padding="16dip"
33            android:drawablePadding="16dip"
34            android:drawableStart="@drawable/ic_settings_add"
35            android:textAppearance="?android:attr/textAppearanceSmall"
36            android:textColor="?android:attr/textColorPrimary"/>
37    </LinearLayout>
38
39    <LinearLayout
40        android:id="@+id/password_wrapper"
41        android:layout_width="match_parent"
42        android:layout_height="wrap_content"
43        android:orientation="horizontal">
44
45        <EditText
46            android:id="@+id/password_edit"
47            android:layout_height="wrap_content"
48            android:layout_width="match_parent"
49            android:layout_weight="1"
50            android:hint="@string/account_setup_incoming_password_label"
51            android:inputType="textPassword"
52            android:imeOptions="actionNext" />
53
54        <ImageView
55            android:id="@+id/clear_password"
56            android:contentDescription="@string/clear_authentication_label"
57            android:layout_height="wrap_content"
58            android:layout_width="wrap_content"
59            android:clickable="true"
60            android:layout_gravity="center_vertical"
61            android:src="@drawable/ic_setup_delete"
62            style="@style/clear_authentication_button"/>
63    </LinearLayout>
64
65    <LinearLayout
66        android:id="@+id/oauth_wrapper"
67        android:layout_width="match_parent"
68        android:layout_height="wrap_content"
69        android:orientation="horizontal">
70
71        <TextView
72            android:id="@+id/oauth_label"
73            android:layout_height="wrap_content"
74            android:layout_width="match_parent"
75            android:layout_weight="1"
76            style="@style/oauth_label"
77            android:textAppearance="?android:attr/textAppearanceSmall"
78            android:textColor="?android:attr/textColorPrimary" />
79
80        <ImageView
81            android:id="@+id/clear_oauth"
82            android:contentDescription="@string/clear_authentication_label"
83            android:layout_height="wrap_content"
84            android:layout_width="wrap_content"
85            android:clickable="true"
86            android:src="@drawable/ic_setup_delete"
87            style="@style/clear_authentication_button"/>
88
89    </LinearLayout>
90
91
92</FrameLayout>
93