blob: 132cca1be0aeda3a0339ce9ef9423f464a0ba146 [file] [log] [blame]
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/alert_padding">
<TextView
style="@style/TextLight24BlueDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/alert_title_margin_bottom"
android:text="@string/warning"/>
<TextView
style="@style/TextRegular14BlueDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/your_are_about_to_install"/>
<TextView
android:id="@+id/installing_version"
style="@style/TextBold14BlueDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/version_type_text"
style="@style/TextRegular14BlueDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/an_older_version_of_os"/>
<TextView
android:id="@+id/erase_all_data_warning_text"
style="@style/TextBold14Red"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/alert_padding"
android:layout_marginTop="@dimen/alert_padding"
android:gravity="center"
android:text="@string/erase_all_data_warning_message"
android:visibility="gone"/>
<TextView
style="@style/TextRegular14BlueDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/alert_padding"
android:layout_marginTop="@dimen/alert_padding"
android:gravity="center_horizontal"
android:text="@string/older_version_os_install_confirmation"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/alert_padding">
<Button
android:id="@+id/confirmation_no_button"
style="@style/ButtonBlueDark"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="25dp"
android:paddingTop="5dp"
android:text="@android:string/cancel"/>
<TextView
style="@style/TextRegular16White"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:clickable="false"
android:focusable="false"
android:paddingBottom="5dp"
android:text="@string/take_me_back"/>
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/alert_padding">
<Button
android:id="@+id/confirmation_yes_button"
style="@style/ButtonBlue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="25dp"
android:paddingTop="5dp"
android:text="@android:string/ok"/>
<TextView
style="@style/TextRegular16White"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:clickable="false"
android:focusable="false"
android:paddingBottom="5dp"
android:text="@string/go_ahead_and_install_it"/>
</FrameLayout>
<CheckBox
android:id="@+id/confirmation_checkbox"
style="@style/CheckBoxBlue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/older_version_os_install_confirmation_checkbox"/>
</LinearLayout>