gecko/mobile/android/base/resources/layout/sync_setup_pair.xml
Nick Alexander dff07bc548 Bug 767179 - part 2/2: Make Android Sync user interface appear in fixed size dialogs on tablets. r=rnewman
--HG--
extra : rebase_source : 33f95f95973402113eca67ba25def217c44ce9bb
2012-08-30 12:12:56 -07:00

85 lines
2.5 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/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/SyncContainer" >
<TextView
style="@style/SyncTop"
android:text="@string/sync_title_pair" />
<ScrollView
style="@style/SyncMiddle" >
<LinearLayout
style="@style/SyncLayout.Vertical"
android:gravity="center" >
<TextView
android:id="@+id/setup_subtitle"
style="@style/SyncTextItem"
android:text="@string/sync_subtitle_pair" />
<TextView
style="@style/SyncLinkItem"
android:paddingBottom="@dimen/SyncSpace"
android:onClick="showClickHandler"
android:text="@string/sync_link_show" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/SyncSpace"
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:paddingBottom="@dimen/SyncSpace"
android:gravity="center"
android:orientation="horizontal"
android:visibility="invisible" >
<TextView
style="@style/SyncTextError"
android:text="@string/sync_pair_tryagain"
android:textSize="10dp" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<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>
</LinearLayout>