fix: 备注标签和内容合为一个 TextView
"备注: xxx" 拼在一起,去掉多余的标签 TextView 和 LinearLayout 容器 样式不变(深灰背景、22sp、白色文字、13dp padding) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -179,36 +179,17 @@
|
||||
android:layout_marginTop="5dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 备注块:标签和内容同行 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/noteContainer"
|
||||
<!-- 备注(备注:标签拼在内容文字前面) -->
|
||||
<TextView
|
||||
android:id="@+id/tvNote"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/bg_note"
|
||||
android:padding="13dp"
|
||||
android:layout_marginBottom="11dp"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<!-- 备注标签 -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="备注: "
|
||||
android:textColor="@color/text_secondary"
|
||||
android:textSize="22sp" />
|
||||
|
||||
<!-- 备注内容 -->
|
||||
<TextView
|
||||
android:id="@+id/tvNote"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="22sp" />
|
||||
|
||||
</LinearLayout>
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="22sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<!-- 语音播放按钮(用户上报任务附带语音描述) -->
|
||||
<LinearLayout
|
||||
|
||||
Reference in New Issue
Block a user