This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16281|Reply: 0

[Xamarin for Android] The difference between Android :p addingbottom and Android:layout_marginBottom

[Copy link]
Posted on 12/17/2017 10:16:12 PM | | |

paddingBottom is the distance between the content of the accusation and the bottom edge of the control. For example: Button is 10dp high and 10dp wide, and paddingBottom = 10dp, then the Button height becomes 20dp, and the Button content is displayed on the top, 10dp away from the bottom.

layout_marginBottom is the distance in the air outside the edge of the accusation, for example, Button1 and Button2 are displayed vertically, and the layout_marginBottom = 10dp in Button1, then there will be a distance of 10dp between Button1 and Button2




Previous:How do newcomers get prestige?
Next:android-TableLayout as well as the use of TableRow
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com