adding some more style updates
This commit is contained in:
parent
153e8e650f
commit
6d2487f3ab
|
@ -12,7 +12,6 @@ import kotlinx.android.synthetic.main.dialog_rename_group.view.*
|
|||
|
||||
class RenameGroupDialog(val activity: BaseSimpleActivity, val group: Group, val callback: () -> Unit) {
|
||||
init {
|
||||
|
||||
val view = activity.layoutInflater.inflate(R.layout.dialog_rename_group, null).apply {
|
||||
rename_group_title.setText(group.title)
|
||||
}
|
||||
|
|
|
@ -14,15 +14,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:hint="@string/title">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyEditText
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/group_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/activity_margin"
|
||||
android:inputType="textCapSentences"
|
||||
android:singleLine="true"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="@dimen/normal_text_size" />
|
||||
android:textSize="@dimen/bigger_text_size" />
|
||||
|
||||
</com.simplemobiletools.commons.views.MyTextInputLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
android:id="@+id/dialog_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="@dimen/activity_margin">
|
||||
android:paddingStart="@dimen/activity_margin"
|
||||
android:paddingTop="@dimen/activity_margin"
|
||||
android:paddingEnd="@dimen/activity_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextInputLayout
|
||||
android:id="@+id/custom_label_hint"
|
||||
|
@ -11,14 +13,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:hint="@string/title">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyEditText
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/custom_label_edittext"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_margin"
|
||||
android:layout_marginEnd="@dimen/activity_margin"
|
||||
android:inputType="textCapSentences"
|
||||
android:singleLine="true"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="@dimen/normal_text_size" />
|
||||
android:textSize="@dimen/bigger_text_size" />
|
||||
|
||||
</com.simplemobiletools.commons.views.MyTextInputLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
android:id="@+id/export_contacts_filename"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="@dimen/bigger_text_size" />
|
||||
|
|
|
@ -12,13 +12,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:hint="@string/title">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyEditText
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/rename_group_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="@dimen/normal_text_size" />
|
||||
android:textSize="@dimen/bigger_text_size" />
|
||||
|
||||
</com.simplemobiletools.commons.views.MyTextInputLayout>
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in New Issue