2017-03-15 23:53:15 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/ImportExportActivity_import"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
android:textColor="@color/signal_primary_dark"/>
|
|
|
|
|
|
|
|
<LinearLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/import_sms"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="76dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:background="?selectableItemBackground">
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginRight="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
2017-04-24 01:42:00 +00:00
|
|
|
android:src="@drawable/ic_message_white_24dp"
|
|
|
|
android:tint="?attr/pref_icon_tint"/>
|
2017-04-22 18:29:02 +00:00
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp">
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
2017-03-15 23:53:15 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:gravity="start"
|
|
|
|
style="@style/Registration.Description"
|
|
|
|
android:text="@string/import_fragment__import_system_sms_database"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:text="@string/import_fragment__import_the_database_from_the_default_system"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?android:attr/listDivider"/>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/import_plaintext_backup"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="76dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:background="?selectableItemBackground">
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginRight="32dip"
|
|
|
|
android:layout_marginEnd="32dip"
|
2017-04-24 01:42:00 +00:00
|
|
|
android:src="@drawable/ic_content_copy_white_24dp"
|
|
|
|
android:tint="?attr/pref_icon_tint"/>
|
2017-04-22 18:29:02 +00:00
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
2017-03-15 23:53:15 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp">
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
style="@style/Registration.Description"
|
|
|
|
android:text="@string/import_fragment__import_plaintext_backup"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
2017-03-15 23:53:15 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:gravity="start"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:text="@string/import_fragment__import_a_plaintext_backup_file"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/preference_divider"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/ImportExportActivity_export"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
android:textColor="@color/signal_primary_dark"/>
|
|
|
|
|
|
|
|
<LinearLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/export_plaintext_backup"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="76dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:background="?selectableItemBackground">
|
|
|
|
|
|
|
|
<ImageView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginRight="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
2017-04-24 01:42:00 +00:00
|
|
|
android:src="@drawable/ic_content_copy_white_24dp"
|
|
|
|
android:tint="?attr/pref_icon_tint"/>
|
2017-04-22 18:29:02 +00:00
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2017-03-15 23:53:15 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp">
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
style="@style/Registration.Description"
|
|
|
|
android:text="@string/export_fragment__export_plaintext_backup"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
|
2017-04-22 18:29:02 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
2017-03-15 23:53:15 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 18:29:02 +00:00
|
|
|
android:gravity="start"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:text="@string/export_fragment__export_a_plaintext_backup_compatible_with"/>
|
2017-03-15 23:53:15 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2017-04-22 18:29:02 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?android:attr/listDivider"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2017-03-15 23:53:15 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|