mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Created migration section in settings and import/export rearranged
This commit is contained in:
parent
3892c5f5d5
commit
6fc028db33
@ -302,7 +302,6 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun importCallHistory(uri: Uri) {
|
private fun importCallHistory(uri: Uri) {
|
||||||
try {
|
try {
|
||||||
val jsonString = contentResolver.openInputStream(uri)!!.use { inputStream ->
|
val jsonString = contentResolver.openInputStream(uri)!!.use { inputStream ->
|
||||||
|
@ -394,20 +394,16 @@
|
|||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<include
|
||||||
android:id="@+id/settings_calls_import_holder"
|
android:id="@+id/settings_migration_divider"
|
||||||
style="@style/SettingsHolderTextViewOneLinerStyle"
|
layout="@layout/divider" />
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<com.simplemobiletools.commons.views.MyTextView
|
<TextView
|
||||||
android:id="@+id/settings_calls_import"
|
android:id="@+id/settings_migration_section_label"
|
||||||
style="@style/SettingsTextLabelStyle"
|
style="@style/SettingsSectionLabelStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/import_call_history" />
|
android:text="@string/migrating" />
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/settings_calls_export_holder"
|
android:id="@+id/settings_calls_export_holder"
|
||||||
@ -424,6 +420,21 @@
|
|||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/settings_calls_import_holder"
|
||||||
|
style="@style/SettingsHolderTextViewOneLinerStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<com.simplemobiletools.commons.views.MyTextView
|
||||||
|
android:id="@+id/settings_calls_import"
|
||||||
|
style="@style/SettingsTextLabelStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/import_call_history" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</androidx.core.widget.NestedScrollView>
|
</androidx.core.widget.NestedScrollView>
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user