We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我尝试按照自定义属性设置app:labelTextWidth="match_parent"但是这样只能使第一个标签宽度铺满:
app:labelTextWidth="match_parent"
我需要实现以下效果应该怎么做呢?:
The text was updated successfully, but these errors were encountered:
match_parent会让label铺满父布局,所以这样设置,每个label都会铺满宽。如果你想label固定宽度,应该设置固定值。如果你想label宽度是父布局的4分之一,就要自己计算宽度
Sorry, something went wrong.
你好,但是也没有setLabelTextWidth啊,该如何设置?
match_parent会让label铺满父布局,所以这样设置,每个label都会铺满宽。如果你想label固定宽度,应该设置固定值。如果你想label宽度是父布局的4分之一,就要自己计算宽度 你好,但是也没有setLabelTextWidth啊,该如何设置? 可以在xml设置labelTextWidth,也可以用下面的方法代码设置
你好,但是也没有setLabelTextWidth啊,该如何设置? 可以在xml设置labelTextWidth,也可以用下面的方法代码设置
No branches or pull requests
我尝试按照自定义属性设置
app:labelTextWidth="match_parent"
但是这样只能使第一个标签宽度铺满:我需要实现以下效果应该怎么做呢?:
The text was updated successfully, but these errors were encountered: