replicant-packages_apps_Email/res/layout-w600dp/account_setup_basics_fragment.xml
Tony Mantler 12890669c3 Prevent the IME from popping up when launching setup flow
b/13769774

Change-Id: I184f577cf40d0f43adcceee6ca9bede77f37d4d0
2014-04-04 13:48:42 -07:00

68 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 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.
-->
<!-- Common data-entry area of initial account setup screen - email, password, default check -->
<!-- tablet version -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<!-- We don't want the keyboard up when the user arrives in this initial screen -->
<View
android:layout_height="0dp"
android:layout_width="0dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:contentDescription="@null"
android:importantForAccessibility="no" >
<requestFocus/>
</View>
<ImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:src="@drawable/ic_email_yellow_big"
android:contentDescription="@null"
android:layout_marginTop="@dimen/setup_basics_logo_margin_top"
android:layout_marginBottom="@dimen/setup_basics_logo_margin_bottom"
android:layout_gravity="center_horizontal" />
<TextView
android:id="@+id/instructions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/accounts_welcome"
style="@style/account_setup_info_text" />
<LinearLayout
android:paddingTop="16dip"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginRight="16dip"
android:text="@string/account_setup_basics_email_label"
style="@style/account_setup_label_text" />
<EditText
android:id="@+id/account_email"
android:contentDescription="@string/account_setup_basics_email_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress" />
</LinearLayout>
</LinearLayout>