gecko/mobile/android/base/resources/layout/sync_account.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

76 lines
2.1 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/account_top"
style="@style/SyncTop">
<ImageView
style="@style/SyncTopIcon" />
<TextView
style="@style/SyncTextTitle"
android:text="@string/sync_title_connect" />
</LinearLayout>
<ScrollView
android:id="@+id/account_content"
style="@style/SyncLayout"
android:layout_below="@id/account_top"
android:layout_above="@+id/account_bottom">
<LinearLayout
style="@style/SyncLayout.Vertical"
android:padding="20dp" >
<TextView
style="@style/SyncTextItem"
android:text="@string/sync_subtitle_account"
android:layout_marginBottom="10dp" />
<EditText android:id="@+id/usernameInput"
style="@style/SyncEditItem"
android:hint="@string/sync_input_username" />
<EditText android:id="@+id/passwordInput"
style="@style/SyncEditItem"
android:password="true"
android:hint="@string/sync_input_password" />
<EditText android:id="@+id/keyInput"
style="@style/SyncEditItem"
android:hint="@string/sync_input_key" />
<CheckBox android:id="@+id/checkbox_server"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:imeOptions="actionDone"
android:text="@string/sync_checkbox_server" />
<EditText android:id="@+id/serverInput"
style="@style/SyncEditItem"
android:visibility="gone"
android:hint="@string/sync_input_server" />
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@id/account_bottom"
style="@style/SyncBottom"
android:orientation="horizontal" >
<Button
style="@style/SyncButton"
android:onClick="cancelClickHandler"
android:text="@string/sync_button_cancel" />
<Button
style="@style/SyncButton"
android:id="@+id/accountConnectButton"
android:onClick="connectClickHandler"
android:clickable="false"
android:enabled="false"
android:text="@string/sync_button_connect" />
</LinearLayout>
</RelativeLayout>