2011-12-21 16:44:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-05-21 11:12:37 +00:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
2012-08-30 19:12:56 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
style="@style/SyncContainer" >
|
|
|
|
|
2012-07-26 15:47:25 +00:00
|
|
|
<TextView
|
|
|
|
style="@style/SyncTop"
|
2012-01-25 23:53:13 +00:00
|
|
|
android:text="@string/sync_title_connect" />
|
2012-08-30 19:12:56 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<ScrollView
|
2012-08-30 19:12:56 +00:00
|
|
|
style="@style/SyncMiddle" >
|
2012-01-25 23:53:13 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<LinearLayout
|
2012-08-30 19:12:56 +00:00
|
|
|
style="@style/SyncLayout.Vertical" >
|
2012-01-25 23:53:13 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<TextView
|
|
|
|
style="@style/SyncTextItem"
|
2012-01-25 23:53:13 +00:00
|
|
|
android:text="@string/sync_subtitle_account"
|
2012-08-30 19:12:56 +00:00
|
|
|
android:paddingBottom="@dimen/SyncSpace" />
|
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<EditText android:id="@+id/usernameInput"
|
|
|
|
style="@style/SyncEditItem"
|
2012-08-30 19:12:56 +00:00
|
|
|
android:state_focused="true"
|
2012-01-14 17:20:31 +00:00
|
|
|
android:hint="@string/sync_input_username" />
|
2012-08-30 19:12:56 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<EditText android:id="@+id/passwordInput"
|
|
|
|
style="@style/SyncEditItem"
|
2012-08-30 19:12:56 +00:00
|
|
|
android:inputType="textPassword"
|
2012-01-14 17:20:31 +00:00
|
|
|
android:hint="@string/sync_input_password" />
|
2012-08-30 19:12:56 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<EditText android:id="@+id/keyInput"
|
|
|
|
style="@style/SyncEditItem"
|
|
|
|
android:hint="@string/sync_input_key" />
|
2012-06-05 23:35:26 +00:00
|
|
|
|
|
|
|
<TextView android:id="@+id/cred_error"
|
|
|
|
style="@style/SyncTextError"
|
|
|
|
android:text="@string/sync_invalidcreds_label" />
|
2012-08-30 19:12:56 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<CheckBox android:id="@+id/checkbox_server"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:text="@string/sync_checkbox_server" />
|
2012-08-30 19:12:56 +00:00
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
<EditText android:id="@+id/serverInput"
|
|
|
|
style="@style/SyncEditItem"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:hint="@string/sync_input_server" />
|
2012-01-25 23:53:13 +00:00
|
|
|
|
2012-06-05 23:35:26 +00:00
|
|
|
<TextView android:id="@+id/server_error"
|
|
|
|
style="@style/SyncTextError"
|
|
|
|
android:text="@string/sync_invalidserver_label" />
|
|
|
|
|
2012-01-14 17:20:31 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
2012-01-25 23:53:13 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2012-08-30 19:12:56 +00:00
|
|
|
style="@style/SyncBottom" >
|
2012-01-25 23:53:13 +00:00
|
|
|
|
|
|
|
<Button
|
2012-06-05 23:35:26 +00:00
|
|
|
android:id="@+id/accountCancelButton"
|
2012-01-25 23:53:13 +00:00
|
|
|
style="@style/SyncButton"
|
|
|
|
android:onClick="cancelClickHandler"
|
|
|
|
android:text="@string/sync_button_cancel" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/SyncButton"
|
|
|
|
android:id="@+id/accountConnectButton"
|
|
|
|
android:onClick="connectClickHandler"
|
|
|
|
android:clickable="false"
|
|
|
|
android:enabled="false"
|
|
|
|
android:text="@string/sync_button_connect" />
|
|
|
|
</LinearLayout>
|
2012-08-30 19:12:56 +00:00
|
|
|
</LinearLayout>
|