找回密码
 立即注册
paddingTheviewandroid | android开发 2022-11-09 66 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
android:padding和android:layout_margin的区别,其实概念很简单,padding是站在父view的观点描绘问题,它规则它里边的内容有必要与这个父view边界的间隔。margin则是站在自己的观点描绘问题,规则自己和其他(上下左右)的view之间的间隔,假如同一级只要一个view,那么它的效果基本上就和padding相同了。本资料共包括以下附件:

(Android: padding and android: layout_ The difference between margin is actually very simple. Padding is a problem described from the perspective of the parent view. It rules that the content in it must be separated from the boundary of the parent view. Margin describes the problem from its own point of view. The rule itself and other (upper, lower, left, right) views are separated. If there is only one view at the same level, its effect is basically the same as that of padding. This document includes the following annexes:)

[下载]10350529124.rar




上一篇:KKsina(授权篇)
下一篇:新浪微博Android客户端开发第三讲