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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

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

mercurial