1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/fxaccount_sign_in.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,80 @@ 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/sign_in_view" 1.18 + style="@style/FxAccountMiddle" > 1.19 + 1.20 + <LinearLayout style="@style/FxAccountSpacer" /> 1.21 + 1.22 + <TextView 1.23 + style="@style/FxAccountHeaderItem" 1.24 + android:text="@string/fxaccount_sign_in_sub_header" /> 1.25 + 1.26 + <include layout="@layout/fxaccount_email_password_view" /> 1.27 + 1.28 + <TextView 1.29 + android:id="@+id/remote_error" 1.30 + style="@style/FxAccountErrorItem" /> 1.31 + 1.32 + <RelativeLayout style="@style/FxAccountButtonLayout" > 1.33 + 1.34 + <ProgressBar 1.35 + android:id="@+id/progress" 1.36 + style="@style/FxAccountProgress" /> 1.37 + 1.38 + <Button 1.39 + android:id="@+id/button" 1.40 + style="@style/FxAccountButton" 1.41 + android:text="@string/fxaccount_sign_in_button_label" /> 1.42 + </RelativeLayout> 1.43 + 1.44 + <LinearLayout 1.45 + android:layout_width="fill_parent" 1.46 + android:layout_height="wrap_content" 1.47 + android:layout_marginTop="10dp" 1.48 + android:orientation="horizontal" > 1.49 + 1.50 + <TextView 1.51 + android:id="@+id/forgot_password_link" 1.52 + style="@style/FxAccountLinkifiedItem" 1.53 + android:layout_gravity="left" 1.54 + android:layout_weight="1" 1.55 + android:gravity="left" 1.56 + android:text="@string/fxaccount_sign_in_forgot_password" /> 1.57 + 1.58 + <TextView 1.59 + android:id="@+id/create_account_link" 1.60 + style="@style/FxAccountLinkItem" 1.61 + android:layout_gravity="right" 1.62 + android:layout_weight="1" 1.63 + android:gravity="right" 1.64 + android:text="@string/fxaccount_sign_in_create_account_instead" /> 1.65 + </LinearLayout> 1.66 + 1.67 + <TextView 1.68 + android:id="@+id/policy" 1.69 + style="@style/FxAccountLinkifiedItem" 1.70 + android:layout_marginTop="10dp" 1.71 + android:layout_marginLeft="10dp" 1.72 + android:layout_marginRight="10dp" 1.73 + android:text="@string/fxaccount_create_account_policy_text" 1.74 + android:textColorLink="@color/fxaccount_linkified_textColorLinkSubdued" /> 1.75 + 1.76 + <LinearLayout style="@style/FxAccountSpacer" /> 1.77 + 1.78 + <ImageView 1.79 + style="@style/FxAccountIcon" 1.80 + android:contentDescription="@string/fxaccount_empty_contentDescription" /> 1.81 + </LinearLayout> 1.82 + 1.83 +</ScrollView>