Why would you do the setcontentview() in oncreate() of activity class?
Answer / Saurav Kumar Roy
setContentView() is called in the onCreate() method to inflate and associate a layout file with the current activity. It sets the content view for an Android activity, which means it determines what the user sees on their screen when they open the activity.
| Is This Answer Correct ? | 0 Yes | 0 No |
Kindly name few of the last code given to android different versions?
If the Activity is showing an animation that indicates some kind of progress, what issue might you encounter and how could you address it?
What is armv7?
What are the exceptions in android?
what is dalvik virtual machine in android?
Activity results handled by the onactivityresult() method are differentiated from one another using which code?
How does manifest file plays an integral role in app development?
how to write a custom adapter in android?
Please explain the difference between nine-patch image vs regular bitmap image?
What are the notifications available in android?
Is google the owner of android?
Will these phones have world phone capabilities, with the ability to make calls, receive data in other countries? Or will they be able to use Google Voice to make calls?