codepath-android-fall16-group-8 / travel

3 stars 3 forks source link

CreateTrip: add title edit text + make trip dates required #88

Closed heyhuyen closed 7 years ago

heyhuyen commented 7 years ago

issue: #77

Requires trips dates when create a new trip. If dates are not set, when the user taps on "confirm to create story" an alert dialog shows (added showErrorDialog() method to BaseActivity for reuse).

Also added an edit text to set a trip title. Defaults to "Trip to ". If the user creates a trip with an empty trip title, the title will be set to the default value (this is how google trips behaves).

screen shot 2016-12-01 at 2 54 25 pm