What is the difference between margin and padding in android layout?

A - Margin is specifying the extra space left on all four sides in layout
B - Padding is used to offset the content of a view by specific px or dp
C - Both A and B are correct
D - None of the above


C - Both A and B are correct

Computer Science & Information Technology

You might also like to view...

The steps that are taken in the training process itself are prescribed in the ____.

A. evaluation plan B. assessment plan C. training plan D. awareness plan

Computer Science & Information Technology

Classes can be created from other classes by using _______________

a) encapsulation b) polymorphism c) inheritance d) attributes e) machine code

Computer Science & Information Technology

In Excel, in the Function Arguments dialog box, what does it mean when an argument name displays in bold?

A) It must be a cell reference. B) It must be a number value. C) It is not required. D) It is required.

Computer Science & Information Technology

____ are used to control the placement of text and images from one browser to another.

a. Library objects b. Flowcharts c. Div elements d. Tables

Computer Science & Information Technology