我试图在我的一种布局中使用机器人细字体,但是当我将字体系列设置为“sans-serif-thin”时,字体默认为斜体,我无法强制它正常。
<TextView
android:id="@+id/textLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/firstLabel"
android:fontFamily="sans-serif-thin"
android:text="for this week"
android:textSize="30sp"
android:textStyle="normal"
android:layout_marginTop="-15dp" />
谁能告诉我在布局中使用机器人超薄普通样式字体的正确方法?