Smart Phone Application Development Batch 8 - Sem 2 Flipped Classroom Task List
Smart Phone Application Development Batch 8 - Sem 2 Flipped Classroom Task List
BATCH 8 – SEM 2
FLIPPED CLASSROOM TASK LIST
1. Create an Android Activity with two text boxes to input user name and password(Must not
display the user input), a radio button with a text message “Enable checkbox” and a Submit
button. After entering the user name, If check box is not enabled and the user clicks the submit
button, then display a Toast message “Checkbox is must be enabled” and must not do any
validation. If the checkbox is enabled and button is clicked then check if the user name is equals
to “Chhantha”, password is equal to “1234” then display the message welcome “Chhantha” and
also change the background color of the activity to green. If the above condition is not true then
display “Invalid user name” using a toast message and change the background color of the
activity to red.
Hint:
2. Create an Android Activity with a text view with some sample text “Hello world welcome to
Android”, a toggle button with a text “Enable dark mode” and a button with a text “change
background”. When you turn on the toggle button and click the change background button then
the screen must turn into black and the color of text view must become white when you turn off
the toggle button then the screen must turn into white and the text should become black.
Hint:
a. ToogleButton
b. Changing background color of the layout
c. On click listener