gecko-dev/mobile/android/base/resources/layout/sync_setup.xml

99 lines
3.1 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_connect" />
<ScrollView
style="@style/SyncMiddle"
android:padding="@dimen/SyncSpace" >
<LinearLayout
style="@style/SyncLayout.Vertical" >
<TextView
android:id="@+id/setup_header"
style="@style/SyncTextItem"
android:gravity="left"
android:paddingBottom="@dimen/SyncSpace"
android:text="@string/sync_subtitle_header"
android:textStyle="bold"
android:focusable="true"
android:nextFocusDown="@+id/setup_subtitle" />
<TextView
android:id="@id/setup_subtitle"
style="@style/SyncTextItem"
android:gravity="left"
android:text="@string/sync_subtitle_connect"
android:focusable="true"
android:nextFocusDown="@+id/setup_showme"
android:nextFocusUp="@id/setup_header" />
<TextView
android:id="@id/setup_showme"
style="@style/SyncLinkItem"
android:paddingBottom="@dimen/SyncSpace"
android:onClick="showClickHandler"
android:text="@string/sync_link_show"
android:focusable="true"
android:nextFocusDown="@+id/text_pin1"
android:nextFocusUp="@id/setup_subtitle" />
<LinearLayout
style="@style/SyncLayout"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/SyncSpace"
android:orientation="vertical" >
<TextView
android:id="@id/text_pin1"
style="@style/SyncPinText"
android:focusable="true"
android:nextFocusDown="@+id/text_pin2"
android:nextFocusUp="@id/setup_showme" />
<TextView
android:id="@id/text_pin2"
style="@style/SyncPinText"
android:focusable="true"
android:nextFocusDown="@+id/text_pin3"
android:nextFocusUp="@id/text_pin1" />
<TextView
android:id="@id/text_pin3"
style="@style/SyncPinText"
android:focusable="true"
android:nextFocusDown="@+id/link_nodevice"
android:nextFocusUp="@id/text_pin2" />
</LinearLayout>
<TextView
android:id="@id/link_nodevice"
style="@style/SyncLinkItem"
android:gravity="center"
android:onClick="manualClickHandler"
android:text="@string/sync_link_advancedsetup"
android:focusable="true"
android:nextFocusUp="@id/text_pin3" />
</LinearLayout>
</ScrollView>
<LinearLayout
style="@style/SyncBottomContainer" >
<LinearLayout
style="@style/SyncBottom"
android:orientation="horizontal" >
<Button
style="@style/SyncButton"
android:onClick="cancelClickHandler"
android:text="@string/sync_button_cancel" />
</LinearLayout>
</LinearLayout>
</LinearLayout>