Difference between a View's Padding and Margin
来源:互联网 发布:ios版狂野飙车同步数据 编辑:程序博客网 时间:2024/06/03 11:11
92down vote
Padding is the space inside the border, between the border and the actual view's content. Note that padding goes completely around the content: there is padding on the top, bottom, right and left sides (which can be independent).
Margins are the spaces outside the border, between the border and the other elements next to this view. In the image, the margin is the grey area outside the entire object. Note that, like the padding, the margin goes completely around the content: there are margins on the top, bottom, right, and left sides.
An image says more than 1000 words:
- Difference between a View's Padding and Margin
- difference of padding and margin
- difference between padding and margins
- What's the difference between a thread and a process?
- What’s the difference between a stack and a heap?
- What's the difference between a URI and a URL?
- What's the difference between an event and a delegate?
- Difference between new A and new A()
- What's difference between PMP and PRINCE2
- [Android] Different between Padding and Margin in Layout
- A difference between decltype and auto?
- What’s the difference between a class variable and an instance variable?
- CareerCup What is the difference between a computers heap and it's stack?
- What’s The Difference Between A Codec, Container And Video Format?
- In SQL, what’s the difference between a full join and an inner join?
- What’s the Difference between a Hue, Tint, Shade and Tone ?
- In C++, what’s the difference between an inline function and a macro?
- What’s the difference between “Array()” and “[]” while declaring a JavaScript array?
- js 取得文本框内,鼠标索引
- qt/embedded 4.5.3 的编译与移植
- (补)第十二周实验报告(2)
- hdu 3874 Necklace
- 字符串逆序
- Difference between a View's Padding and Margin
- 百度网盘邀请码
- 在VC中使用Matrix<LIB>C++数学库
- document.form.submit()的使用
- AndroidPN真机环境测试
- 谈谈XCode代码自动完成Code Sense功能
- 51CTO下载中心 移动开发的资料库
- Holo Dark TabWidget style for Holo Light Theme
- PHP 5.4 (5.4.3) Code Execution (Win32)