Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = (EditText) findViewById(R.id.user);
- password = (EditText) findViewById(R.id.password);
- l_user = user.getText().toString();
- p_user = password.getText().toString();
- if (l_user == "") {
- setContentView(R.layout.act_login);
- }
- else {
- if (p_user == "") {
- setContentView(R.layout.act_login);
- }
- else {
- // код отправки данных из форм на сервер
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement