1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/fxaccount_status.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,118 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- 1.6 + This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 +--> 1.10 + 1.11 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 1.12 + android:layout_width="fill_parent" 1.13 + android:layout_height="fill_parent" 1.14 + android:fillViewport="true" > 1.15 + 1.16 + <LinearLayout 1.17 + android:id="@+id/existing_user" 1.18 + style="@style/FxAccountMiddle" > 1.19 + 1.20 + <TextView 1.21 + style="@style/FxAccountHeaderItem" 1.22 + android:text="@string/fxaccount_status_header" > 1.23 + </TextView> 1.24 + 1.25 + <TextView 1.26 + android:id="@+id/email" 1.27 + style="@style/FxAccountTextItem" > 1.28 + </TextView> 1.29 + 1.30 + <TextView 1.31 + android:id="@+id/sync_status_text" 1.32 + style="@style/FxAccountHeaderItem" 1.33 + android:text="@string/fxaccount_status_sync" > 1.34 + </TextView> 1.35 + 1.36 + <ViewFlipper 1.37 + android:id="@+id/connection_status_view" 1.38 + style="@style/FxAccountTextItem" 1.39 + android:layout_width="fill_parent" 1.40 + android:layout_height="wrap_content" > 1.41 + 1.42 + <TextView 1.43 + android:id="@+id/needs_upgrade_view" 1.44 + style="@style/FxAccountTextItem" 1.45 + android:layout_width="fill_parent" 1.46 + android:layout_height="wrap_content" 1.47 + android:layout_gravity="center_horizontal" 1.48 + android:background="#fad4d2" 1.49 + android:drawablePadding="10dp" 1.50 + android:drawableStart="@drawable/fxaccount_sync_error" 1.51 + android:gravity="center_vertical" 1.52 + android:padding="10dp" 1.53 + android:text="@string/fxaccount_status_needs_upgrade" > 1.54 + </TextView> 1.55 + 1.56 + <TextView 1.57 + android:id="@+id/sign_in_view" 1.58 + style="@style/FxAccountTextItem" 1.59 + android:layout_width="fill_parent" 1.60 + android:layout_height="wrap_content" 1.61 + android:layout_gravity="center_horizontal" 1.62 + android:background="#fad4d2" 1.63 + android:drawablePadding="10dp" 1.64 + android:drawableStart="@drawable/fxaccount_sync_error" 1.65 + android:gravity="center_vertical" 1.66 + android:padding="10dp" 1.67 + android:text="@string/fxaccount_status_needs_credentials" > 1.68 + </TextView> 1.69 + 1.70 + <TextView 1.71 + android:id="@+id/unverified_view" 1.72 + style="@style/FxAccountTextItem" 1.73 + android:layout_width="fill_parent" 1.74 + android:layout_height="wrap_content" 1.75 + android:layout_gravity="center_horizontal" 1.76 + android:background="#fad4d2" 1.77 + android:drawablePadding="10dp" 1.78 + android:drawableStart="@drawable/fxaccount_sync_error" 1.79 + android:gravity="center_vertical" 1.80 + android:padding="10dp" 1.81 + android:text="@string/fxaccount_status_needs_verification" > 1.82 + </TextView> 1.83 + </ViewFlipper> 1.84 + 1.85 + <CheckBox 1.86 + android:id="@+id/bookmarks_checkbox" 1.87 + style="@style/FxAccountCheckBox" 1.88 + android:text="@string/fxaccount_status_bookmarks" /> 1.89 + 1.90 + <CheckBox 1.91 + android:id="@+id/history_checkbox" 1.92 + style="@style/FxAccountCheckBox" 1.93 + android:text="@string/fxaccount_status_history" /> 1.94 + 1.95 + <CheckBox 1.96 + android:id="@+id/tabs_checkbox" 1.97 + style="@style/FxAccountCheckBox" 1.98 + android:text="@string/fxaccount_status_tabs" /> 1.99 + 1.100 + <CheckBox 1.101 + android:id="@+id/passwords_checkbox" 1.102 + style="@style/FxAccountCheckBox" 1.103 + android:text="@string/fxaccount_status_passwords" /> 1.104 + 1.105 + <TextView 1.106 + style="@style/FxAccountHeaderItem" 1.107 + android:text="@string/fxaccount_status_legal" > 1.108 + </TextView> 1.109 + 1.110 + <TextView 1.111 + android:id="@+id/fxaccount_status_linktos" 1.112 + style="@style/FxAccountLinkifiedItem" 1.113 + android:text="@string/fxaccount_policy_linktos" /> 1.114 + 1.115 + <TextView 1.116 + android:id="@+id/fxaccount_status_linkprivacy" 1.117 + style="@style/FxAccountLinkifiedItem" 1.118 + android:text="@string/fxaccount_policy_linkprivacy" /> 1.119 + </LinearLayout> 1.120 + 1.121 +</ScrollView>