码迷,mamicode.com
首页 > 移动开发 > 详细

android textView 总是有paddingtop怎么解决

时间:2017-01-05 16:51:28      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:布局   解决   top   开发者   设置   nbsp   android   方法   打开   

android的TextView即使设置wrap_content,如果打开开发者模式->显示布局边界,能看到textView还是存在paddingTop,

解决方法:

android:includeFontPadding="false"

 

android textView 总是有paddingtop怎么解决

标签:布局   解决   top   开发者   设置   nbsp   android   方法   打开   

原文地址:http://www.cnblogs.com/Sir-Lin/p/6252529.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!