mobile/android/base/resources/layout/fxaccount_status.xml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!--
     3    This Source Code Form is subject to the terms of the Mozilla Public
     4    - License, v. 2.0. If a copy of the MPL was not distributed with this
     5    - file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 -->
     8 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     9     android:layout_width="fill_parent"
    10     android:layout_height="fill_parent"
    11     android:fillViewport="true" >
    13     <LinearLayout
    14         android:id="@+id/existing_user"
    15         style="@style/FxAccountMiddle" >
    17         <TextView
    18             style="@style/FxAccountHeaderItem"
    19             android:text="@string/fxaccount_status_header" >
    20         </TextView>
    22         <TextView
    23             android:id="@+id/email"
    24             style="@style/FxAccountTextItem" >
    25         </TextView>
    27         <TextView
    28             android:id="@+id/sync_status_text"
    29             style="@style/FxAccountHeaderItem"
    30             android:text="@string/fxaccount_status_sync" >
    31         </TextView>
    33         <ViewFlipper
    34             android:id="@+id/connection_status_view"
    35             style="@style/FxAccountTextItem"
    36             android:layout_width="fill_parent"
    37             android:layout_height="wrap_content" >
    39             <TextView
    40                 android:id="@+id/needs_upgrade_view"
    41                 style="@style/FxAccountTextItem"
    42                 android:layout_width="fill_parent"
    43                 android:layout_height="wrap_content"
    44                 android:layout_gravity="center_horizontal"
    45                 android:background="#fad4d2"
    46                 android:drawablePadding="10dp"
    47                 android:drawableStart="@drawable/fxaccount_sync_error"
    48                 android:gravity="center_vertical"
    49                 android:padding="10dp"
    50                 android:text="@string/fxaccount_status_needs_upgrade" >
    51             </TextView>
    53             <TextView
    54                 android:id="@+id/sign_in_view"
    55                 style="@style/FxAccountTextItem"
    56                 android:layout_width="fill_parent"
    57                 android:layout_height="wrap_content"
    58                 android:layout_gravity="center_horizontal"
    59                 android:background="#fad4d2"
    60                 android:drawablePadding="10dp"
    61                 android:drawableStart="@drawable/fxaccount_sync_error"
    62                 android:gravity="center_vertical"
    63                 android:padding="10dp"
    64                 android:text="@string/fxaccount_status_needs_credentials" >
    65             </TextView>
    67             <TextView
    68                 android:id="@+id/unverified_view"
    69                 style="@style/FxAccountTextItem"
    70                 android:layout_width="fill_parent"
    71                 android:layout_height="wrap_content"
    72                 android:layout_gravity="center_horizontal"
    73                 android:background="#fad4d2"
    74                 android:drawablePadding="10dp"
    75                 android:drawableStart="@drawable/fxaccount_sync_error"
    76                 android:gravity="center_vertical"
    77                 android:padding="10dp"
    78                 android:text="@string/fxaccount_status_needs_verification" >
    79             </TextView>
    80         </ViewFlipper>
    82         <CheckBox
    83             android:id="@+id/bookmarks_checkbox"
    84             style="@style/FxAccountCheckBox"
    85             android:text="@string/fxaccount_status_bookmarks" />
    87         <CheckBox
    88             android:id="@+id/history_checkbox"
    89             style="@style/FxAccountCheckBox"
    90             android:text="@string/fxaccount_status_history" />
    92         <CheckBox
    93             android:id="@+id/tabs_checkbox"
    94             style="@style/FxAccountCheckBox"
    95             android:text="@string/fxaccount_status_tabs" />
    97         <CheckBox
    98             android:id="@+id/passwords_checkbox"
    99             style="@style/FxAccountCheckBox"
   100             android:text="@string/fxaccount_status_passwords" />
   102         <TextView
   103             style="@style/FxAccountHeaderItem"
   104             android:text="@string/fxaccount_status_legal" >
   105         </TextView>
   107         <TextView
   108             android:id="@+id/fxaccount_status_linktos"
   109             style="@style/FxAccountLinkifiedItem"
   110             android:text="@string/fxaccount_policy_linktos" />
   112         <TextView
   113             android:id="@+id/fxaccount_status_linkprivacy"
   114             style="@style/FxAccountLinkifiedItem"
   115             android:text="@string/fxaccount_policy_linkprivacy" />
   116     </LinearLayout>
   118 </ScrollView>

mercurial