浏览代码

fix: profile state italic cutoff (#258)

![image](/attachments/0eb471dc-6c3a-49ac-bf01-9ef658fd29fa)

Reviewed-on: https://gitea.angry.im/PeterCxy/OpenEUICC/pulls/258
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
septs 2 月之前
父节点
当前提交
55e7731197
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app-common/src/main/res/layout/euicc_profile.xml

+ 2 - 1
app-common/src/main/res/layout/euicc_profile.xml

@@ -42,12 +42,13 @@
 
             <TextView
                 android:id="@+id/state"
-                android:layout_width="wrap_content"
+                android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_marginTop="6dp"
                 android:textSize="14sp"
                 android:textStyle="italic"
                 android:singleLine="true"
+                android:includeFontPadding="true"
                 app:layout_constraintLeft_toLeftOf="parent"
                 app:layout_constraintTop_toBottomOf="@id/name"
                 app:layout_constraintBottom_toTopOf="@+id/provider_label"/>