If you have done any java projects before, I see Textview
and EditText
are just same as JLabel
and JtextField
. If you want to ask user to enter username you will set an TextView with ("username " text in that, like you would do the same for JLabel). And then you make a textbox appear for user to enter the username that textbox is EditText
. EditText is where user give their inputs for the program.
User cannot change something in TextView but program can(After user input correct user name you can set text for another TextView by the program saying that "Details correct" if you want that you have to write it in your program code. User can't make it appear). User can input any user name, But "username" textfield or TextView
will remain unchange as "username" just like in a normal login interface.