mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 17:48:52 -06:00
Refactor EditHabitDialog
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
style="@style/dialogForm"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".ui.habits.edit.EditHabitDialogFragment"
|
||||
tools:context=".ui.habits.edit.BaseDialogFragment"
|
||||
tools:ignore="MergeRootFrame">
|
||||
|
||||
<LinearLayout
|
||||
@@ -34,7 +34,7 @@
|
||||
style="@style/dialogFormRow">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_name"
|
||||
android:id="@+id/tvName"
|
||||
style="@style/dialogFormInput"
|
||||
android:hint="@string/name">
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_description"
|
||||
android:id="@+id/tvDescription"
|
||||
style="@style/dialogFormInputMultiline"
|
||||
android:hint="@string/description_hint"/>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
android:gravity="fill">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_freq_num"
|
||||
android:id="@+id/tvFreqNum"
|
||||
style="@style/dialogFormInputSmallNumber"/>
|
||||
|
||||
<TextView
|
||||
@@ -88,7 +88,7 @@
|
||||
android:gravity="center"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_freq_den"
|
||||
android:id="@+id/tvFreqDen"
|
||||
style="@style/dialogFormInputSmallNumber"/>
|
||||
|
||||
<TextView
|
||||
@@ -111,7 +111,7 @@
|
||||
android:text="@string/reminder"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/inputReminderTime"
|
||||
android:id="@+id/tvReminderTime"
|
||||
style="@style/dialogFormSpinner"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
android:text=""/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/inputReminderDays"
|
||||
android:id="@+id/tvReminderDays"
|
||||
style="@style/dialogFormSpinner"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user