mobile/android/base/resources/layout/sync_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.

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

mercurial