【发布时间】:2012-05-01 20:53:35
【问题描述】:
这是我的安卓系统的屏幕截图。文本是“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" />
知道是什么原因造成的吗?
【问题讨论】:
-
请在此处粘贴所有 xml 文件,而不仅仅是 textview。
-
您是否尝试删除填充? (如果有效,只需将其更改为边距)
-
这种情况在 2019 年仍在发生。这还没有解决吗?肯定是个bug。 wrap_content 应该知道如何处理斜体文本。
标签: android