2012-01-14 09:20:31 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-05-21 04:12:37 -07: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 12:12:56 -07:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
style="@style/SyncContainer" >
|
|
|
|
|
2012-07-26 08:47:25 -07:00
|
|
|
<TextView
|
|
|
|
style="@style/SyncTop"
|
|
|
|
android:text="@string/sync_title_pair" />
|
|
|
|
|
2012-01-14 09:20:31 -08:00
|
|
|
<ScrollView
|
2012-08-30 12:12:56 -07:00
|
|
|
style="@style/SyncMiddle" >
|
2012-01-14 09:20:31 -08:00
|
|
|
|
|
|
|
<LinearLayout
|
2012-01-25 15:53:13 -08:00
|
|
|
style="@style/SyncLayout.Vertical"
|
2012-08-30 12:12:56 -07:00
|
|
|
android:gravity="center" >
|
2012-01-14 09:20:31 -08:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/setup_subtitle"
|
|
|
|
style="@style/SyncTextItem"
|
2012-05-15 12:32:03 -07:00
|
|
|
android:text="@string/sync_subtitle_pair" />
|
2012-01-14 09:20:31 -08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/SyncLinkItem"
|
2012-08-30 12:12:56 -07:00
|
|
|
android:paddingBottom="@dimen/SyncSpace"
|
2012-01-14 09:20:31 -08:00
|
|
|
android:onClick="showClickHandler"
|
|
|
|
android:text="@string/sync_link_show" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-30 12:12:56 -07:00
|
|
|
android:paddingBottom="@dimen/SyncSpace"
|
2012-01-14 09:20:31 -08:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
2012-01-25 15:53:13 -08:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/pair_row1"
|
2012-04-04 17:33:10 -07:00
|
|
|
style="@style/SyncEditPin"
|
|
|
|
android:state_focused="true" />
|
2012-01-25 15:53:13 -08:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/pair_row2"
|
|
|
|
style="@style/SyncEditPin" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/pair_row3"
|
|
|
|
style="@style/SyncEditPin"
|
2012-02-21 11:07:55 -08:00
|
|
|
android:imeOptions="actionDone|flagNoExtractUi" />
|
2012-01-14 09:20:31 -08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/pair_error"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-30 12:12:56 -07:00
|
|
|
android:paddingBottom="@dimen/SyncSpace"
|
2012-01-14 09:20:31 -08:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="invisible" >
|
|
|
|
|
|
|
|
<TextView
|
2012-06-05 16:35:26 -07:00
|
|
|
style="@style/SyncTextError"
|
2012-01-14 09:20:31 -08:00
|
|
|
android:text="@string/sync_pair_tryagain"
|
|
|
|
android:textSize="10dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
2012-08-30 12:12:56 -07:00
|
|
|
|
2012-01-25 15:53:13 -08:00
|
|
|
<LinearLayout
|
|
|
|
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>
|
2012-08-30 12:12:56 -07:00
|
|
|
</LinearLayout>
|