简体   繁体   中英

How to find dimensions for Material Design UI Elements?

When trying to pick padding and width and margin for UI elements, I see that some default values pop up in the XML. This makes me think --> Is there a standard set of measurements that I can use for material design instead of trying to guess what looks right?

Like in the picture below, where specifically in the documentation can i find the list of all dimensions available?

在此处输入图片说明

Android specifies certain widths and heights that you should use for your application. For example the horizontal and vertical activity margins, the padding in TextView or EditText . See https://material.google.com/layout/metrics-keylines.html for the guidelines.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM