android - E/OpenGLRenderer:字体太大而无法放入缓存 - 使用 AutoSizing TextView 时
问题描述
在平板电脑模拟器上,使用Support Library中的AutoSizing时,android 无法正确显示 textview 。
- 有什么方法可以在不禁用硬件加速的情况下进行修复?
- 为什么即使使用支持库也没有解决这个问题?
.
E/OpenGLRenderer: Font size too large to fit in cache. width, height = 347, 578
Font size too large to fit in cache. width, height = 74, 610
Font size too large to fit in cache. width, height = 347, 578
Font size too large to fit in cache. width, height = 74, 610
这不是重复的问题,因为它是关于最近发布的 AutoSizing TextView 并且重点是不使用相同的常见方法来修复。
解决方案
推荐阅读
- javascript - 找不到 min.js.map 文件,控制台日志。获得意外的 CSS 行为
- python - 为什么将列表作为参数传递比传递生成器性能更好?
- c# - 从 C# 中的字符串列表中删除前导和尾随空格
- sql - 在 Oracle PL/SQL 中复制 SAS DO 循环
- regex - 尝试使用两个不同的文本来定位相同的元素,使用 .withText 用于不同的环境
- python - 从另一个 python 脚本执行 python 文件,如果 python 文件具有嵌套函数则失败
- javascript - Chrome 扩展内容脚本无法检索 DOM 元素
- css - What is the extra space to the right of this button?
- excel - 根据表格的行创建一个新的 Excel 文件,同时将表格值的相应行复制到新文件中
- ruby-on-rails - 带有附加参数的链接到 root_path 不起作用