Q1:
a): What does <intent-filter> tag is meant for in
"AndroidManifest.xml" ?
b): Describe one line difference between ListActivity
and ListView.
d): What is difference between LinearLayout and
RelativeLayout ?
e): Differentiate between margin and padding.
f):
Differentiate wrap_content and match_parent.
Q2: What is
Activity Lifecycle ? Write down all activity lifecycle methods in sequence they
are called. When does onPause() and onResume get called ?
Q3: How does
static ListView listens item click events ? Write code for below
i) Add static rows in Listview in TopActivity.
ii) Pass position of selected item to DetailActivity when a row item is clicked in Listview.
ii) Pass position of selected item to DetailActivity when a row item is clicked in Listview.