fix: 备注标签和内容改为同一行
"备注: 需要带清洁工具" 一行显示,不再换行浪费空间 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -179,34 +179,34 @@
|
|||||||
android:layout_marginTop="5dp" />
|
android:layout_marginTop="5dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- 备注块:标签+内容 -->
|
<!-- 备注块:标签和内容同行 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/noteContainer"
|
android:id="@+id/noteContainer"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="horizontal"
|
||||||
android:background="@drawable/bg_note"
|
android:background="@drawable/bg_note"
|
||||||
android:padding="13dp"
|
android:padding="13dp"
|
||||||
android:layout_marginBottom="11dp"
|
android:layout_marginBottom="11dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
|
||||||
<!-- 备注标签 -->
|
<!-- 备注标签 -->
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="备注"
|
android:text="备注: "
|
||||||
android:textColor="@color/text_secondary"
|
android:textColor="@color/text_secondary"
|
||||||
android:textSize="18sp"
|
android:textSize="22sp" />
|
||||||
android:layout_marginBottom="5dp" />
|
|
||||||
|
|
||||||
<!-- 备注内容 -->
|
<!-- 备注内容 -->
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvNote"
|
android:id="@+id/tvNote"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
android:textColor="@color/text_primary"
|
android:textColor="@color/text_primary"
|
||||||
android:textSize="24sp"
|
android:textSize="22sp" />
|
||||||
android:lineSpacingMultiplier="1.4" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user