Modify the application logic to have a user submit their name and present them with a personalized greeting
Requirements
- Set the layout in
MainActivity.java
to usemain_activity.xml
- When the submit button is clicked, update the greeting to be personalized based on input. Example: "Hello, Brad!"
- If time allows...
- Bonus Points: Have the input field and personalized greeting maintain their state through screen rotations
- Bonus Points: Validate, only greet the user if valid input was provided
- Bonus Points: Show a validation error on the input field when it doesn't contain a name, but the submit button is pressed