gecko/mobile/android/base/resources/layout/sync_setup_pair.xml
Richard Newman 1ea430bec6 Bug 720933 - Android Sync 0.3 code drop. a=mobile
Bug 718848 - Part 7: More link styling, pin display styling, alignment per UI feedback.
 Bug 718848 - Part 6: Fixed regression of progressbar layout.
 Bug 718848 - Part 5: Indentation alignment.
 Bug 718848 - Part 4: Fixes for links, icon blurriness, PIN display.
 Bug 718848 - Part 3: Whitespace changes.
 Bug 718848 - Part 2: Setting theme on start of Sync setup.
 Bug 718848 - Part 1: Theme and layout changes, per UI meeting.
 Bug 717075 - make classic setup hint text visible. Added basic SyncTheme.
 Bug 717691 - Part 1: fall back to supported cipher suites for older Android releases.
 Bug 717691 - Part 0: Specify HTTP 1.1 in HTTP requests.
 Bug 718848 - Part 2: fixed string revision: "computer" not "desktop".  r=rnewman
 Bug 719669 - Part 1: throw IncorrectZkpException when g^x^q % p = 1 in J-PAKE.
 Bug 719669 - Part 0: code reformatting and string tidying.
 Bug 718149 - go somewhere useful after Firefox Sync set up, on launch.
2012-01-25 15:53:13 -08:00

90 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/SyncLayout" >
<LinearLayout
android:id="@+id/pair_top"
style="@style/SyncTop" >
<ImageView
style="@style/SyncTopIcon" />
<TextView
android:id="@+id/setup_title"
style="@style/SyncTextTitle"
android:text="@string/sync_title_pair" />
</LinearLayout>
<ScrollView
style="@style/SyncLayout"
android:layout_below="@id/pair_top"
android:layout_above="@+id/pair_bottom" >
<LinearLayout
style="@style/SyncLayout.Vertical"
android:gravity="center"
android:padding="10dp" >
<TextView
android:id="@+id/setup_subtitle"
style="@style/SyncTextItem"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"
android:text="@string/sync_subtitle_connect" />
<TextView
style="@style/SyncLinkItem"
android:layout_marginBottom="10dp"
android:onClick="showClickHandler"
android:text="@string/sync_link_show" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical" >
<EditText
android:id="@+id/pair_row1"
style="@style/SyncEditPin" />
<EditText
android:id="@+id/pair_row2"
style="@style/SyncEditPin" />
<EditText
android:id="@+id/pair_row3"
style="@style/SyncEditPin"
android:imeOptions="actionDone" />
</LinearLayout>
<LinearLayout
android:id="@+id/pair_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
android:visibility="invisible" >
<TextView
style="@style/SyncTextItem"
android:layout_margin="10dp"
android:text="@string/sync_pair_tryagain"
android:textSize="10dp" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@id/pair_bottom"
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>
</RelativeLayout>