首页 > 解决方案 > E/OpenGLRenderer:字体太大而无法放入缓存 - 使用 AutoSizing TextView 时

问题描述

在平板电脑模拟器上,使用Support Library中的AutoSizing时,android 无法正确显示 textview 。

  1. 有什么方法可以在不禁用硬件加速的情况下进行修复?
  2. 为什么即使使用支持库也没有解决这个问题?

.

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 并且重点是不使用相同的常见方法来修复。

标签: androidandroid-layouttextviewandroid-support-library

解决方案


推荐阅读