gpt4 book ai didi

Android,使部分文本在TextView中不可见

转载 作者:行者123 更新时间:2023-11-29 22:34:11 26 4
gpt4 key购买 nike

我怀疑在我的文本开头添加某个字母/字符可以解决我目前面临的对齐问题。不用说,我不希望这封信出现。
有没有办法让文本的一部分不可见/透明?
我查看了 Spannable 界面,找不到任何与可见性相关的内容。

谢谢,罗布

最佳答案

I suspect that adding a certain letter/character to the beginning of my text will solve an alignment problem I am currently facing.

这种技术适用于所有屏幕尺寸、所有屏幕密度和所有字体大小是不现实的。

Is there a way to tell a portion of the text to be invisible/transparent?

假设您知道背景颜色是什么,您可以告诉文本的一部分具有与背景相同的颜色。

关于Android,使部分文本在TextView中不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2636333/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com