2013-02-17 19:42:30 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:fillViewport="true"
|
|
|
|
android:background="@drawable/background_pattern_repeat">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center" >
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/prompt_layout"
|
|
|
|
android:paddingRight="16dip"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingTop="10dip"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginBottom="16dip"
|
|
|
|
android:text="@string/database_migration_activity__would_you_like_to_import_your_existing_text_messages"/>
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/import_database"/>
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginBottom="16dip"
|
|
|
|
android:layout_marginTop="16dip"
|
|
|
|
android:text="@string/database_migration_activity__the_default_system_database_will_not_be_modified"/>
|
|
|
|
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-02-19 18:36:04 +00:00
|
|
|
android:layout_marginTop="20dip">
|
2013-02-17 19:42:30 +00:00
|
|
|
|
2013-11-30 23:36:21 +00:00
|
|
|
<Button android:id="@+id/skip_button"
|
2013-02-17 19:42:30 +00:00
|
|
|
android:text="@string/database_migration_activity__skip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="7dip"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
|
2013-11-30 23:36:21 +00:00
|
|
|
<Button android:id="@+id/import_button"
|
2013-02-17 19:42:30 +00:00
|
|
|
android:text="@string/database_migration_activity__import"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/progress_layout"
|
|
|
|
android:paddingRight="16dip"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingTop="10dip"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/import_database"/>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginTop="34dip"
|
|
|
|
android:layout_marginBottom="16dip"
|
|
|
|
android:text="@string/database_migration_activity__this_could_take_a_moment_please_be_patient"/>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="15dip"
|
|
|
|
android:layout_weight="1.0" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/import_status"
|
|
|
|
style="@style/Registration.Constant"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:text="0/100"
|
|
|
|
android:textSize="12.0sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/Registration.Constant"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:text="@string/database_migration_activity__importing"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textSize="12.0sp"
|
|
|
|
android:textStyle="normal" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/import_progress"
|
2013-11-30 23:36:21 +00:00
|
|
|
style="@style/Widget.ProgressBar.Horizontal"
|
2013-02-17 19:42:30 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="14.0dip"
|
|
|
|
android:layout_marginTop="2.0dip" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</ScrollView>
|