gecko/mobile/android/base/resources/layout/sync_setup_failure.xml

54 lines
1.6 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/. -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/SyncLayout" >
<LinearLayout
android:id="@+id/failure_top"
style="@style/SyncTop" >
<ImageView
style="@style/SyncTopIcon" />
<TextView
style="@style/SyncTextTitle"
android:text="@string/sync_title_fail" />
</LinearLayout>
<TextView
android:id="@+id/failure_subtitle1"
style="@style/SyncTextItem"
android:layout_below="@id/failure_top"
android:padding="20dp"
android:text="@string/sync_subtitle_fail" />
<TextView
android:id="@+id/failure_subtitle2"
style="@style/SyncTextItem"
android:layout_below="@id/failure_subtitle1"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:text="@string/sync_subtitle_failmultiple" />
<LinearLayout
android:id="@+id/failure_bottom"
style="@style/SyncBottom"
android:orientation="horizontal" >
<Button
style="@style/SyncButton"
android:onClick="tryAgainClickHandler"
android:text="@string/sync_button_tryagain" />
<Button
style="@style/SyncButton"
android:onClick="manualClickHandler"
android:text="@string/sync_button_manual" />
<Button
style="@style/SyncButton"
android:onClick="cancelClickHandler"
android:text="@string/sync_button_cancel" />
</LinearLayout>
</RelativeLayout>