UI Flashcards

1
Q

What are dimensions for in Android?

A

To make dimensions easier to manage, you should separate the dimensions from your code, especially if you need to adjust your layout for devices with different screen densities. Keeping dimensions separate from code also makes it easy to have consistent sizing for UI elements, and to change the size of multiple elements by changing one dimension resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly