【问题标题】:Less than sign (<) and Greater than sign (>) are not the same size or shape in Android Studio小于号 (<) 和大于号 (>) 在 Android Studio 中的大小或形状不同
【发布时间】:2021-05-17 14:37:49
【问题描述】:

当我尝试在 android studio TextView 中添加特殊字符时,小于号与大于号的大小/形状不同。这是Screenshot,所以你知道我在说什么。

我在我的 strings.xml 文件中使用了这些字符:

<string name="mainPageText">See all available rooms \u003E</string>
<string name="listPageText">\uFE64 See my current status</string>

有什么方法可以修复它,使它们的大小和形状都相同?

【问题讨论】:

标签: java android android-studio unicode textview


【解决方案1】:

https://www.compart.com/en/unicode/U+003C https://www.compart.com/en/unicode/U+003E >

https://www.compart.com/en/unicode/U+FE64﹤ 和
https://www.compart.com/en/unicode/U+FE65

而不是将第一个中的一个和第二个中的一个混合

(由于字体不同,SO 上的差异不那么明显)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-18
    • 1970-01-01
    • 2019-08-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多