Refactor EditHabitsFragment

This commit is contained in:
2016-02-20 13:53:41 -05:00
parent 4c53bd3763
commit c36cdb1e42
6 changed files with 169 additions and 178 deletions

View File

@@ -22,7 +22,7 @@
</EditText>
<ImageButton
android:id="@+id/button_pick_color"
android:id="@+id/buttonPickColor"
android:src="@drawable/ic_action_pick_color"
style="@style/dialogFormInputColor" />
</LinearLayout>
@@ -72,7 +72,7 @@
android:text="@string/reminder" />
<TextView
android:id="@+id/input_reminder_time"
android:id="@+id/inputReminderTime"
style="@style/dialogFormTimePicker" />
</LinearLayout>

View File

@@ -63,5 +63,9 @@
<string name="streaks">Streaks</string>
<string name="no_habits_found">You have no active habits</string>
<string name="long_press_to_toggle">Long press to check or uncheck</string>
<string name="reminder_off">Off</string>
<string name="validation_name_should_not_be_blank">Name cannot be blank.</string>
<string name="validation_number_should_be_positive">Number must be positive.</string>
<string name="validation_at_most_one_rep_per_day">You can have at most one repetition per day</string>
</resources>