III-BSIT-A
Open PDF file:UI_LOGIN.pdf
If the user fails to fill one of the textboxes on the first page, a toast message will appear, preventing the user from proceeding to the second page. In order to do so, I've included a function called .isEmpty() that will detect whether the textbox is empty.
If the user successfully logs in, he/she will be routed to the next page. Using this code: startActivity(new Intent(MainActivity.this, SecondActivity.class));