Answer: D weight property says how much portion of remaining space has to be taken by this view.
weight sum says sum of its child view's weights.
If weight sum is not provided to the layout, then it will be automatically calculated by summing the weight of child views in that layout.
Use weight sum in the layout only if you are not going to add a new child view to your layout. It may create problem if you want to modify or add a new child view with a new weight to your existing layout. Then again you have to make sure that you modify the parent layout's weight sum as well. Else it will not work as desired.
Description: Generally we use weight property to distribute the space to the views irrespective of screen sizes. It works perfectly with all screen sizes.
Answer: A Use a relative layout with a button with below properties.
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
Description:
Answer: C both option 1 and 2 are correct.
Description: