gpt4 book ai didi

android - textview在android中切断一个字母

转载 作者:IT老高 更新时间:2023-10-28 23:11:05 26 4
gpt4 key购买 nike

http://dl.dropbox.com/u/24856/Screenshots/android/cutoff.png

这是我的安卓系统的屏幕截图。文本是“asd”。但是“d”被略微切断。这是相关的观点:

        <TextView
android:id="@+id/stuff"
android:padding="2dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/other_stuff"
android:layout_marginTop="33dp"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="italic" />

知道是什么原因造成的吗?

最佳答案

最终得到了一个 hacky 解决方案,即在最后一个斜体字符后添加一个空格

关于android - textview在android中切断一个字母,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10243374/

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