mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
90 lines
2.7 KiB
XML
90 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 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/. -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
style="@style/SyncLayout" >
|
|
<LinearLayout
|
|
android:id="@+id/account_top"
|
|
style="@style/SyncTop">
|
|
|
|
<ImageView
|
|
style="@style/SyncTopIcon" />
|
|
<TextView
|
|
style="@style/SyncTextTitle"
|
|
android:text="@string/sync_title_connect" />
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:id="@+id/account_content"
|
|
style="@style/SyncLayout"
|
|
android:layout_below="@id/account_top"
|
|
android:layout_above="@+id/account_bottom">
|
|
|
|
<LinearLayout
|
|
style="@style/SyncLayout.Vertical"
|
|
android:padding="20dp" >
|
|
|
|
<TextView
|
|
style="@style/SyncTextItem"
|
|
android:text="@string/sync_subtitle_account"
|
|
android:layout_marginBottom="10dp" />
|
|
|
|
<EditText android:id="@+id/usernameInput"
|
|
style="@style/SyncEditItem"
|
|
android:hint="@string/sync_input_username" />
|
|
|
|
<EditText android:id="@+id/passwordInput"
|
|
style="@style/SyncEditItem"
|
|
android:password="true"
|
|
android:hint="@string/sync_input_password" />
|
|
|
|
<EditText android:id="@+id/keyInput"
|
|
style="@style/SyncEditItem"
|
|
android:hint="@string/sync_input_key" />
|
|
|
|
<TextView android:id="@+id/cred_error"
|
|
style="@style/SyncTextError"
|
|
android:text="@string/sync_invalidcreds_label" />
|
|
|
|
<CheckBox android:id="@+id/checkbox_server"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left"
|
|
android:imeOptions="actionDone"
|
|
android:text="@string/sync_checkbox_server" />
|
|
|
|
<EditText android:id="@+id/serverInput"
|
|
style="@style/SyncEditItem"
|
|
android:visibility="gone"
|
|
android:hint="@string/sync_input_server" />
|
|
|
|
<TextView android:id="@+id/server_error"
|
|
style="@style/SyncTextError"
|
|
android:text="@string/sync_invalidserver_label" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@id/account_bottom"
|
|
style="@style/SyncBottom"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/accountCancelButton"
|
|
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>
|
|
</RelativeLayout>
|