One way to present a set of actions to a user is with bottom sheets, a sheet of paper that slides up from the bottom edge of the screen. Bottom sheet offers flexibility in the display of clear and simple actions that do not need explanation.
Android library when the GPS is turned off, displays a dialog box and if the user agrees, GPS is turned on.
TextInputLayout and TextInputEditText merged into one class. Just for convenience and for removing some boilerplate code.