用文字大小扩展视图

时间:2019-07-23 17:14:42

标签: java android xml kotlin view

我的应用程序中具有可访问性功能,该功能可根据用户的喜好增加textSize。但是,当文本达到一定大小时,它在视图中将不再完全可见。如何增加视图,使其自动环绕我的文本值

Initial sized value

然后我增加文本的大小

enter image description here

这是结果:

enter image description here

有没有一种方法可以自动扩展文本所在的容器?

+----+-----------------+--------------+--------------+--------------+
| id | type_NULL_count | type_F_count | type_V_count | type_X_count |
+----+-----------------+--------------+--------------+--------------+
|  1 |               0 |            2 |            1 |            0 |
|  2 |               1 |            1 |            1 |            0 |
|  3 |               1 |            0 |            0 |            1 |
+----+-----------------+--------------+--------------+--------------+

0 个答案:

没有答案