Skip to content

bug 文字字符全是中文的情况下,动态改变没有显示描边 #2

Description

@df13954

代码最新版本
Android环境全平台os
问题1:背景:当tv设置一个中文,无数字,直接运行正常显示描边
当我动态改变这个tv的中文的时候,描边就无效了。

经过排查代码发现
setTextSpan方法的判断
if(!TextUtils.isEmpty(text) && hasDigit(text.toString())){}

在hasDigit判断一直是false
如果我把这个hasDigit移除。动态改变中文,描边就正常了。

问题2:左边两边的描边如果变大了,就会切断描边

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions