44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 项目卡展开后的信息行:只展示创建任务或完成记录,不提供开始/编辑入口。 -->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingStart="18dp"
|
|
android:paddingEnd="10dp"
|
|
android:paddingTop="9dp"
|
|
android:paddingBottom="9dp">
|
|
|
|
<View
|
|
android:id="@+id/taskColorBar"
|
|
android:layout_width="3dp"
|
|
android:layout_height="30dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginStart="11dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tvTaskTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/text"
|
|
android:maxLines="2"
|
|
android:ellipsize="end" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvTaskMeta"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3dp"
|
|
android:maxLines="2"
|
|
android:ellipsize="end"
|
|
style="@style/T.Caption" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|