When setting the height and width of the control, use dp
android:layout_width="100dp"
to set the font, use sp
android:textSize="10sp"
=============
Control style, inside Margin and Margin
Margin //The distance between the two controls
android:layout_margin="30dp"
Inner margin//The distance between the inner border and content of the own control
android:padding="20dp"
Getting started with Android. Control style
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327011797&siteId=291194637
Recommended
Ranking