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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/create_account_view"
    15         style="@style/FxAccountMiddle" >
    17         <LinearLayout style="@style/FxAccountSpacer" />
    19         <TextView
    20             style="@style/FxAccountHeaderItem"
    21             android:text="@string/fxaccount_create_account_header" />
    23         <include layout="@layout/fxaccount_email_password_view" />
    25         <TextView
    26             style="@style/FxAccountTextItem"
    27             android:layout_marginTop="10dp"
    28             android:text="@string/fxaccount_create_account_password_length_restriction"
    29             android:textColor="@color/fxaccount_textColorSubdued" />
    31         <!-- Per http://stackoverflow.com/questions/2359176/android-edittext-onclicklistener, not allowing focus allows us to highjack the click. -->
    33         <EditText
    34             android:id="@+id/year_edit"
    35             style="@style/FxAccountEditItem"
    36             android:drawableRight="@drawable/fxaccount_ddarrow_inactive"
    37             android:focusable="false"
    38             android:hint="@string/fxaccount_create_account_year_of_birth"
    39             android:inputType="none" />
    41         <TextView
    42             android:id="@+id/policy"
    43             style="@style/FxAccountLinkifiedItem"
    44             android:layout_marginBottom="0dp"
    45             android:layout_marginTop="10dp"
    46             android:layout_marginLeft="10dp"
    47             android:layout_marginRight="10dp"
    48             android:text="@string/fxaccount_create_account_policy_text"
    49             android:textColorLink="@color/fxaccount_linkified_textColorLinkSubdued" />
    51         <TextView
    52             android:id="@+id/remote_error"
    53             style="@style/FxAccountErrorItem" />
    55         <RelativeLayout
    56             style="@style/FxAccountButtonLayout"
    57             android:layout_marginBottom="10dp" >
    59             <ProgressBar
    60                 android:id="@+id/progress"
    61                 style="@style/FxAccountProgress" />
    63             <Button
    64                 android:id="@+id/button"
    65                 style="@style/FxAccountButton"
    66                 android:text="@string/fxaccount_create_account_button" />
    67         </RelativeLayout>
    69         <CheckBox
    70             android:id="@+id/choose_what_to_sync_checkbox"
    71             android:layout_width="wrap_content"
    72             android:layout_height="wrap_content"
    73             android:layout_gravity="center_horizontal"
    74             android:layout_margin="0dp"
    75             android:text="@string/fxaccount_create_account_choose_what_to_sync" />
    77         <TextView
    78             android:id="@+id/sign_in_instead_link"
    79             style="@style/FxAccountLinkItem"
    80             android:layout_marginBottom="20dp"
    81             android:layout_marginTop="20dp"
    82             android:focusable="true"
    83             android:text="@string/fxaccount_create_account_sign_in_instead" />
    85         <LinearLayout style="@style/FxAccountSpacer" />
    87         <ImageView
    88             style="@style/FxAccountIcon"
    89             android:contentDescription="@string/fxaccount_empty_contentDescription" />
    90     </LinearLayout>
    92 </ScrollView>

mercurial