mobile/android/base/resources/layout/sync_setup_pair.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 style="@style/SyncContainer" >
michael@0 8
michael@0 9 <TextView
michael@0 10 style="@style/SyncTop"
michael@0 11 android:text="@string/sync_title_pair" />
michael@0 12
michael@0 13 <ScrollView
michael@0 14 style="@style/SyncMiddle" >
michael@0 15
michael@0 16 <LinearLayout
michael@0 17 style="@style/SyncLayout.Vertical"
michael@0 18 android:gravity="center" >
michael@0 19 <TextView
michael@0 20 android:id="@+id/setup_subtitle"
michael@0 21 style="@style/SyncTextItem"
michael@0 22 android:text="@string/sync_subtitle_pair" />
michael@0 23
michael@0 24 <TextView
michael@0 25 style="@style/SyncLinkItem"
michael@0 26 android:paddingBottom="@dimen/SyncSpace"
michael@0 27 android:onClick="showClickHandler"
michael@0 28 android:text="@string/sync_link_show" />
michael@0 29
michael@0 30 <LinearLayout
michael@0 31 android:layout_width="wrap_content"
michael@0 32 android:layout_height="wrap_content"
michael@0 33 android:paddingBottom="@dimen/SyncSpace"
michael@0 34 android:gravity="center"
michael@0 35 android:orientation="vertical" >
michael@0 36
michael@0 37 <EditText
michael@0 38 android:id="@+id/pair_row1"
michael@0 39 style="@style/SyncEditPin"
michael@0 40 android:state_focused="true" />
michael@0 41 <EditText
michael@0 42 android:id="@+id/pair_row2"
michael@0 43 style="@style/SyncEditPin" />
michael@0 44 <EditText
michael@0 45 android:id="@+id/pair_row3"
michael@0 46 style="@style/SyncEditPin"
michael@0 47 android:imeOptions="actionDone|flagNoExtractUi" />
michael@0 48 </LinearLayout>
michael@0 49
michael@0 50 <LinearLayout
michael@0 51 android:id="@+id/pair_error"
michael@0 52 android:layout_width="wrap_content"
michael@0 53 android:layout_height="wrap_content"
michael@0 54 android:paddingBottom="@dimen/SyncSpace"
michael@0 55 android:gravity="center"
michael@0 56 android:orientation="horizontal"
michael@0 57 android:visibility="invisible" >
michael@0 58
michael@0 59 <TextView
michael@0 60 style="@style/SyncTextError"
michael@0 61 android:text="@string/sync_pair_tryagain"
michael@0 62 android:textSize="10dp" />
michael@0 63 </LinearLayout>
michael@0 64 </LinearLayout>
michael@0 65 </ScrollView>
michael@0 66
michael@0 67 <LinearLayout
michael@0 68 style="@style/SyncBottomContainer" >
michael@0 69
michael@0 70 <LinearLayout
michael@0 71 style="@style/SyncBottom"
michael@0 72 android:orientation="horizontal" >
michael@0 73
michael@0 74 <Button
michael@0 75 style="@style/SyncButton"
michael@0 76 android:onClick="cancelClickHandler"
michael@0 77 android:text="@string/sync_button_cancel" />
michael@0 78
michael@0 79 <Button
michael@0 80 android:id="@+id/pair_button_connect"
michael@0 81 style="@style/SyncButton"
michael@0 82 android:onClick="connectClickHandler"
michael@0 83 android:clickable="false"
michael@0 84 android:enabled="false"
michael@0 85 android:text="@string/sync_button_connect" />
michael@0 86 </LinearLayout>
michael@0 87
michael@0 88 </LinearLayout>
michael@0 89 </LinearLayout>

mercurial