fix: 返回按钮恢复64dp宽居中,高度48dp增加上下点击区
宽度回到64dp不影响标题居中,高度48dp比文字高增加纵向点击面积 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
android:paddingEnd="21dp"
|
||||
android:paddingBottom="4dp">
|
||||
|
||||
<!-- 返回按钮:图标靠左,右侧 padding 扩大点击区域 -->
|
||||
<!-- 返回按钮:图标居中,paddingEnd 扩大点击区域 -->
|
||||
<TextView
|
||||
android:id="@+id/btnBack"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="start|center_vertical"
|
||||
android:paddingStart="21dp"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center"
|
||||
android:paddingEnd="0dp"
|
||||
android:text="\ue6bd"
|
||||
android:fontFamily="@font/iconfont"
|
||||
android:textColor="@color/text_primary"
|
||||
|
||||
Reference in New Issue
Block a user