I have a particular requirement.
if(condition true){
Flash the screen GREEN for 5 secs
}else{
Flash the screen RED for 5 secs
}
Could anyone please help in this regard?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
start a new activity
in these activities set the content views to a different XML files
in the layouts of the XML files…set this :
Android:background="#ffff0000"for redand
"#ff00ff00"for green