gecko-dev/mobile/android/base/resources/layout/fxaccount_status.xml

119 lines
4.3 KiB
XML
Raw Normal View History

<?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/existing_user"
style="@style/FxAccountMiddle" >
<TextView
style="@style/FxAccountHeaderItem"
android:text="@string/fxaccount_status_header" >
</TextView>
<TextView
android:id="@+id/email"
style="@style/FxAccountTextItem" >
</TextView>
<TextView
android:id="@+id/sync_status_text"
style="@style/FxAccountHeaderItem"
android:text="@string/fxaccount_status_sync" >
</TextView>
<ViewFlipper
android:id="@+id/connection_status_view"
style="@style/FxAccountTextItem"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/needs_upgrade_view"
style="@style/FxAccountTextItem"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#fad4d2"
android:drawablePadding="10dp"
android:drawableStart="@drawable/fxaccount_sync_error"
android:gravity="center_vertical"
android:padding="10dp"
android:text="@string/fxaccount_status_needs_upgrade" >
</TextView>
<TextView
android:id="@+id/sign_in_view"
style="@style/FxAccountTextItem"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#fad4d2"
android:drawablePadding="10dp"
android:drawableStart="@drawable/fxaccount_sync_error"
android:gravity="center_vertical"
android:padding="10dp"
android:text="@string/fxaccount_status_needs_credentials" >
</TextView>
<TextView
android:id="@+id/unverified_view"
style="@style/FxAccountTextItem"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#fad4d2"
android:drawablePadding="10dp"
android:drawableStart="@drawable/fxaccount_sync_error"
android:gravity="center_vertical"
android:padding="10dp"
android:text="@string/fxaccount_status_needs_verification" >
</TextView>
</ViewFlipper>
<CheckBox
android:id="@+id/bookmarks_checkbox"
style="@style/FxAccountCheckBox"
android:text="@string/fxaccount_status_bookmarks" />
<CheckBox
android:id="@+id/history_checkbox"
style="@style/FxAccountCheckBox"
android:text="@string/fxaccount_status_history" />
<CheckBox
android:id="@+id/tabs_checkbox"
style="@style/FxAccountCheckBox"
android:text="@string/fxaccount_status_tabs" />
<CheckBox
android:id="@+id/passwords_checkbox"
style="@style/FxAccountCheckBox"
android:text="@string/fxaccount_status_passwords" />
<TextView
style="@style/FxAccountHeaderItem"
android:text="@string/fxaccount_status_legal" >
</TextView>
<TextView
android:id="@+id/fxaccount_status_linktos"
style="@style/FxAccountLinkifiedItem"
android:text="@string/fxaccount_policy_linktos" />
<TextView
android:id="@+id/fxaccount_status_linkprivacy"
style="@style/FxAccountLinkifiedItem"
android:text="@string/fxaccount_policy_linkprivacy" />
</LinearLayout>
</ScrollView>