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" >
|
|
<TextView
|
|
style="@style/SyncTop"
|
|
android:id="@+id/pair_top"
|
|
android:text="@string/sync_title_pair" />
|
|
|
|
<ScrollView
|
|
style="@style/SyncLayout"
|
|
android:layout_below="@id/pair_top"
|
|
android:layout_above="@+id/pair_bottom" >
|
|
|
|
<LinearLayout
|
|
style="@style/SyncLayout.Vertical"
|
|
android:gravity="center"
|
|
android:padding="10dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/setup_subtitle"
|
|
style="@style/SyncTextItem"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:text="@string/sync_subtitle_pair" />
|
|
|
|
<TextView
|
|
style="@style/SyncLinkItem"
|
|
android:layout_marginBottom="10dp"
|
|
android:onClick="showClickHandler"
|
|
android:text="@string/sync_link_show" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical" >
|
|
|
|
<EditText
|
|
android:id="@+id/pair_row1"
|
|
style="@style/SyncEditPin"
|
|
android:state_focused="true" />
|
|
<EditText
|
|
android:id="@+id/pair_row2"
|
|
style="@style/SyncEditPin" />
|
|
<EditText
|
|
android:id="@+id/pair_row3"
|
|
style="@style/SyncEditPin"
|
|
android:imeOptions="actionDone|flagNoExtractUi" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/pair_error"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:visibility="invisible" >
|
|
|
|
<TextView
|
|
style="@style/SyncTextError"
|
|
android:layout_margin="10dp"
|
|
android:text="@string/sync_pair_tryagain"
|
|
android:textSize="10dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<LinearLayout
|
|
android:id="@id/pair_bottom"
|
|
style="@style/SyncBottom"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
style="@style/SyncButton"
|
|
android:onClick="cancelClickHandler"
|
|
android:text="@string/sync_button_cancel" />
|
|
|
|
<Button
|
|
android:id="@+id/pair_button_connect"
|
|
style="@style/SyncButton"
|
|
android:onClick="connectClickHandler"
|
|
android:clickable="false"
|
|
android:enabled="false"
|
|
android:text="@string/sync_button_connect" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|