use the new edittext design at the exporting dialog

This commit is contained in:
tibbi 2021-03-02 22:58:24 +01:00
parent 1b871331a2
commit 2a0ad02959
1 changed files with 22 additions and 21 deletions

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/export_contacts_scrollview" android:id="@+id/export_contacts_scrollview"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -20,7 +19,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/folder" android:text="@string/folder"
android:textSize="@dimen/smaller_text_size"/> android:textSize="@dimen/smaller_text_size" />
<com.simplemobiletools.commons.views.MyTextView <com.simplemobiletools.commons.views.MyTextView
android:id="@+id/export_contacts_folder" android:id="@+id/export_contacts_folder"
@ -30,24 +29,25 @@
android:layout_marginBottom="@dimen/activity_margin" android:layout_marginBottom="@dimen/activity_margin"
android:paddingTop="@dimen/small_margin" android:paddingTop="@dimen/small_margin"
android:paddingEnd="@dimen/small_margin" android:paddingEnd="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin"/> android:paddingBottom="@dimen/small_margin" />
<com.simplemobiletools.commons.views.MyTextView <com.simplemobiletools.commons.views.MyTextInputLayout
android:id="@+id/export_contacts_filename_label" android:id="@+id/new_playlist_hint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/filename_without_vcf"
android:textSize="@dimen/smaller_text_size"/>
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/export_contacts_filename"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_margin" android:hint="@string/filename_without_vcf">
android:layout_marginBottom="@dimen/activity_margin"
android:paddingTop="@dimen/normal_margin" <com.simplemobiletools.commons.views.MyEditText
android:paddingEnd="@dimen/small_margin" android:id="@+id/export_contacts_filename"
android:textSize="@dimen/normal_text_size"/> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_margin"
android:paddingTop="@dimen/normal_margin"
android:paddingEnd="@dimen/small_margin"
android:textCursorDrawable="@null"
android:textSize="@dimen/normal_text_size" />
</com.simplemobiletools.commons.views.MyTextInputLayout>
<ImageView <ImageView
android:id="@+id/export_contacts_divider" android:id="@+id/export_contacts_divider"
@ -56,14 +56,15 @@
android:layout_marginTop="@dimen/medium_margin" android:layout_marginTop="@dimen/medium_margin"
android:layout_marginBottom="@dimen/medium_margin" android:layout_marginBottom="@dimen/medium_margin"
android:background="@color/divider_grey" android:background="@color/divider_grey"
android:importantForAccessibility="no"/> android:importantForAccessibility="no" />
<com.simplemobiletools.commons.views.MyTextView <com.simplemobiletools.commons.views.MyTextView
android:id="@+id/export_contacts_pick_sources_label" android:id="@+id/export_contacts_pick_sources_label"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="@dimen/small_margin"
android:text="@string/include_contact_sources" android:text="@string/include_contact_sources"
android:textSize="@dimen/smaller_text_size"/> android:textSize="@dimen/smaller_text_size" />
<com.simplemobiletools.commons.views.MyRecyclerView <com.simplemobiletools.commons.views.MyRecyclerView
android:id="@+id/export_contacts_list" android:id="@+id/export_contacts_list"
@ -72,7 +73,7 @@
android:clipToPadding="false" android:clipToPadding="false"
android:overScrollMode="never" android:overScrollMode="never"
android:paddingTop="@dimen/medium_margin" android:paddingTop="@dimen/medium_margin"
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager"/> app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>