replicant-packages_apps_Email/res/layout/account_setup_basics_fragment.xml

63 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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 -->
<!-- small screen 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/lower_headline"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/account_setup_basics_headline"
style="@style/account_setup_lower_headline"/>
<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" />
<EditText
android:id="@+id/account_email"
android:hint="@string/account_setup_basics_email_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:inputType="textEmailAddress" />
</LinearLayout>