mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
113 lines
5.2 KiB
XML
113 lines
5.2 KiB
XML
<?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"
|
|
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="wrap_content"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
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"
|
|
android:src="@drawable/ic_message_white_24dp"
|
|
android:tint="?attr/pref_icon_tint"/>
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<TextView android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
style="@style/Registration.Description"
|
|
android:text="@string/import_fragment__import_system_sms_database"/>
|
|
|
|
<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"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<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="wrap_content"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
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"
|
|
android:src="@drawable/ic_content_copy_white_24dp"
|
|
android:tint="?attr/pref_icon_tint"/>
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<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"/>
|
|
|
|
<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_a_plaintext_backup_file"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView> |