Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

太大了 #10

Open
zhaoxiuyu opened this issue Dec 13, 2016 · 5 comments
Open

太大了 #10

zhaoxiuyu opened this issue Dec 13, 2016 · 5 comments

Comments

@zhaoxiuyu
Copy link

按钮太大了,上下的间距太大了,
paddingTop , paddingBottom 这两个 设置没有用,
能不能像TextView那样,padding自己设置

@z244370114
Copy link

我今天也遇到这个问题,目测应该是,主题导致的。

@jojo-1994
Copy link

要不试试设置下面这两个属性,貌似就可以像TextView一样了padding随便玩啦
android:background="@null"
android:minHeight="0dp"

@niniloveyou
Copy link
Owner

楼上正解,还有类似问题这样处理就行了,宽度同样minWidth

@sheaye
Copy link

sheaye commented Aug 18, 2017

@jjjSilence 多谢

@niniloveyou
Copy link
Owner

楼上正解,还有类似问题这样处理就行了,宽度同样minWidth

另外补充下,这不是该控件处理的问题,是AppCompatButton 自身的逻辑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants