Multiple Choice
Assume that h is the height of the screen; we want to have 5 buttons on the screen all equidistant from each other; the height of each button is b. What is the distance between two buttons?
A) b
B) h/5
C) ( h - 5 * b ) /5
D) ( h - 5 * b ) /6
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The getConfiguration method from the Resources class
Q2: The ViewGroup.LayoutParameters class contains a setMargins method
Q3: The following instance variable of the Configuration
Q4: The XML attribute for the bottom margin
Q6: The constant of the Configuration class whose
Q7: The getResources method from the Context class
Q8: The parameter of onConfigurationChanged allows us to
Q9: The XML attribute for the left margin
Q10: It is possible to define the GUI
Q11: We set the android:configChanges attribute of the