<?xml version="1.0" encoding="utf-8"?>
<!--
   This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:fillViewport="true" >

    <LinearLayout
        android:id="@+id/update_credentials_view"
        style="@style/FxAccountMiddle" >

        <LinearLayout style="@style/FxAccountSpacer" />

        <TextView
            style="@style/FxAccountHeaderItem"
            android:text="@string/fxaccount_update_credentials_header" />

        <include layout="@layout/fxaccount_custom_server_view" />

        <TextView
            android:id="@+id/remote_error"
            style="@style/FxAccountErrorItem" />

        <include layout="@layout/fxaccount_email_password_view" />

        <RelativeLayout style="@style/FxAccountButtonLayout" >

            <ProgressBar
                android:id="@+id/progress"
                style="@style/FxAccountProgress" />

            <Button
                android:id="@+id/button"
                style="@style/FxAccountProgressButton"
                android:text="@string/fxaccount_update_credentials_button_label" />
        </RelativeLayout>

        <TextView
            android:id="@+id/forgot_password_link"
            style="@style/FxAccountLinkifiedItem"
            android:text="@string/fxaccount_sign_in_forgot_password" />

        <LinearLayout style="@style/FxAccountSpacer" />

        <ImageView
            style="@style/FxAccountIcon"
            android:contentDescription="@string/fxaccount_empty_contentDescription" />
    </LinearLayout>

</ScrollView>
