You can create a custom view by extending class:
Answer(s): C
http://developer.android.com/reference/android/view/View.html
In which Activity life-cycle method you should do all of your normal static set up such as: creating views and bind data to lists?
onCreate(Bundle) is where you initialize your activity.
http://developer.android.com/reference/android/app/Activity.html
Which of the following lines of code starts activity Activity2 from a current activity Activity1?
Answer(s): D
Which of the following methods is called first in an Activity when another activity gets into the foreground?
Answer(s): B
onPause() is where you deal with the user leaving your activity.
Which of the following attributes of the activity tag in the manifest file is used to set an activity screen to landscape orientation?
Adding this to your manifest should force your app to landscape:<!-- Force Landscape--><activity android:name=".ActivtyName" android:screenOrientation="landscape"></activity>
http://answers.unity3d.com/questions/534216/how-force-the-app-to-landscape-in-android-with-a-m.html
Post your Comments and Discuss Android AND-401 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AND-401 content, but please register or login to continue.