f5b5fe1cb3
- Add minWidth to fragment - Remove extraneous LinearLayout and tweak margins to avoid layout jumps - Change + asset - Remove old + icon from prefs header from Email b/8134410 Change-Id: If3371017359b47d9e4280b09fd3bb074b024c23c
119 lines
4.4 KiB
XML
119 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:minWidth="254dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/wrong_password_warning_label"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:paddingTop="16dip"
|
|
android:paddingBottom="16dip"
|
|
android:text="@string/password_warning_label"
|
|
android:textColor="@color/password_warning_color"/>
|
|
|
|
<TextView
|
|
android:id="@+id/email_confirmation_label"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:textStyle="bold"
|
|
android:text="@string/email_confirmation_label"
|
|
android:textColor="@color/email_confirmation_color"/>
|
|
|
|
<TextView
|
|
android:id="@+id/email_confirmation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:paddingBottom="24dip"
|
|
android:textColor="@color/email_confirmation_color"/>
|
|
|
|
<EditText
|
|
android:id="@+id/regular_password"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:hint="@string/password_hint"
|
|
android:inputType="textPassword"
|
|
android:imeOptions="actionDone"
|
|
android:visibility="gone"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/oauth_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
<EditText
|
|
android:id="@+id/imap_password"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:hint="@string/password_hint"
|
|
android:layout_gravity="center"
|
|
android:inputType="textPassword"
|
|
android:imeOptions="actionDone"/>
|
|
<TextView
|
|
android:id="@+id/or_label"
|
|
android:text="@string/or_label"
|
|
android:layout_marginTop="24dip"
|
|
android:layout_marginBottom="24dip"
|
|
android:layout_gravity="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<Button
|
|
android:id="@+id/sign_in_with_oauth"
|
|
android:text="@string/sign_in_with_google"
|
|
android:layout_gravity="center"
|
|
android:layout_width="wrap_content"
|
|
android:paddingLeft="20dp"
|
|
android:paddingRight="20dp"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
|
|
<include
|
|
android:id="@+id/client_certificate_selector"
|
|
layout="@layout/client_certificate_selector"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/device_id_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:text="@string/account_setup_exchange_device_id_label"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
<TextView
|
|
android:id="@+id/device_id"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#ffbebebe" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|