位置任务参数数据管理模块完成
This commit is contained in:
40
positions/src/main/res/layout/item_position_task_simple.xml
Normal file
40
positions/src/main/res/layout/item_position_task_simple.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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="vertical"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/item_bg_simple"
|
||||
android:layout_marginBottom="8dp">
|
||||
|
||||
<!-- 任务描述 -->
|
||||
<TextView
|
||||
android:id="@+id/tv_simple_task_desc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#333333"
|
||||
android:text="任务:无描述"/>
|
||||
|
||||
<!-- 距离条件 -->
|
||||
<TextView
|
||||
android:id="@+id/tv_simple_distance_cond"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#666666"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="条件:距离 > 0 米"/>
|
||||
|
||||
<!-- 启用状态(简单视图仅显示“已启用”) -->
|
||||
<TextView
|
||||
android:id="@+id/tv_simple_is_enable"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#2E8B57"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="状态:已启用"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user