Question: Android question: 9 A pop-up message used to inform a user of something is a string a listener a toast an event 10 A widget
Android question:
9 A pop-up message used to inform a user of something is a string a listener a toast an event
10 A widget is a subclass of which class? Activity AppCompatActivity View Fragment
11 Which of the following android:orientation attribute settings for a LinearLayout causes the first widget added to be the topmost? horizontal wrap_parent vertical padding
12 Which of the following methods is used to get a reference to an inflated widget? findViewById() findView() getViewById() getViewId()
13 Which of the following could be used to refer to a string resource? @string/dog_button +string/rat_button android:text="Woof" @r/string/cat_button
14 What are the building blocks used to compose a UI? elements widgets attributes boxes
15 Resource Ids are stored in which file? rid.xml R.id.java R.java resources.xml
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
