Add dialog to import messages

This commit is contained in:
Paul Akhamiogu 2021-09-10 00:31:04 +01:00
parent 2a5f2bfc03
commit b74a511a5e
6 changed files with 147 additions and 3 deletions

View file

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/import_messages_scrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/import_messages_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:paddingEnd="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/import_sms_checkbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_margin"
android:paddingTop="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin"
android:text="@string/import_sms" />
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/import_mms_checkbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_margin"
android:paddingTop="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin"
android:text="@string/import_mms" />
</LinearLayout>
</ScrollView>

View file

@ -54,6 +54,8 @@
<string name="export_sms">Export SMS</string>
<string name="export_mms">Export MMS</string>
<string name="import_messages">Import messages</string>
<string name="import_sms">Import SMS</string>
<string name="import_mms">Import MMS</string>
<!-- FAQ -->
<string name="faq_1_title">Why does the app require access to the internet?</string>