Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

设置layout_height高度时,里面文字只显示一半 #165

Open
NSChris opened this issue Jun 19, 2020 · 1 comment
Open

设置layout_height高度时,里面文字只显示一半 #165

NSChris opened this issue Jun 19, 2020 · 1 comment

Comments

@NSChris
Copy link

NSChris commented Jun 19, 2020

No description provided.

@KMing86
Copy link

KMing86 commented Dec 3, 2020

那是因为他使用了默认的padding~ 你点进去看源码~ 他默认读取dimens的值~ 叫one_and_a_half_grid_unit,你只需在你的dimens.xml文件里~ 把这个值定义成0就行了~ 当然,也可以定义成别的,这个就是padding的值。

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

No branches or pull requests

2 participants