No, it is not clear.
It’s recommended to take the user to a new screen (launch a new Activity/Fragment) upon the click on the “Sign Up” button. Also, it’s advised that you have 2 fields for password setting in case the person misspells the password upon sign up (this might cause the user to be unable to sign in).
solved Android develop sign in and sign up in the same activity