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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     7   style="@style/SyncContainer" >
     9   <TextView
    10       style="@style/SyncTop"
    11       android:text="@string/sync_title_connect" />
    13   <ScrollView
    14     style="@style/SyncMiddle" >
    16 	<LinearLayout
    17       style="@style/SyncLayout.Vertical" >
    19 	  <TextView
    20 	    style="@style/SyncTextItem"
    21 	    android:text="@string/sync_subtitle_account"
    22 	    android:paddingBottom="@dimen/SyncSpace" />
    24 	  <EditText android:id="@+id/usernameInput"
    25 	    style="@style/SyncEditItem"
    26       android:state_focused="true"
    27 	    android:hint="@string/sync_input_username" />
    29 	  <EditText android:id="@+id/passwordInput"
    30 	    style="@style/SyncEditItem"
    31 	    android:inputType="textPassword"
    32 	    android:hint="@string/sync_input_password" />
    34 	  <EditText android:id="@+id/keyInput"
    35 	    style="@style/SyncEditItem"
    36 	    android:hint="@string/sync_input_key" />
    38 	  <TextView android:id="@+id/cred_error"
    39 	    style="@style/SyncTextError"
    40 	    android:text="@string/sync_invalidcreds_label" />
    42 	  <CheckBox android:id="@+id/checkbox_server"
    43 	    android:layout_width="wrap_content"
    44 	    android:layout_height="wrap_content"
    45 	    android:layout_gravity="left"
    46 	    android:text="@string/sync_checkbox_server" />
    48 	  <EditText android:id="@+id/serverInput"
    49 	    style="@style/SyncEditItem"
    50 	    android:visibility="gone"
    51 	    android:hint="@string/sync_input_server" />
    53 	  <TextView android:id="@+id/server_error"
    54 	    style="@style/SyncTextError"
    55 	    android:text="@string/sync_invalidserver_label" />
    57 	</LinearLayout>
    58   </ScrollView>
    60   <LinearLayout
    61     style="@style/SyncBottomContainer" >
    63     <LinearLayout
    64       style="@style/SyncBottom" >
    65       <Button
    66         android:id="@+id/accountCancelButton"
    67         style="@style/SyncButton"
    68         android:onClick="cancelClickHandler"
    69         android:text="@string/sync_button_cancel" />
    71       <Button
    72         style="@style/SyncButton"
    73         android:id="@+id/accountConnectButton"
    74         android:onClick="connectClickHandler"
    75         android:clickable="false"
    76         android:enabled="false"
    77         android:text="@string/sync_button_connect" />
    78     </LinearLayout>
    80   </LinearLayout>
    81 </LinearLayout>

mercurial