|
@@ -5,30 +5,29 @@
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
-
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/backstage_textview"
|
|
android:id="@+id/backstage_textview"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_height="60dp"
|
|
- android:layout_marginLeft="50dp"
|
|
|
|
|
|
+ android:layout_marginStart="180dp"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="开始时间"
|
|
android:text="开始时间"
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="44sp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginTop="20dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_start_time"
|
|
android:id="@+id/tv_start_time"
|
|
- android:layout_width="260dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_height="60dp"
|
|
- android:layout_marginLeft="18dp"
|
|
|
|
|
|
+ android:layout_marginStart="18dp"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="请选择开始时间"
|
|
android:text="请选择开始时间"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="44sp"
|
|
app:layout_constraintStart_toEndOf="@+id/backstage_textview"
|
|
app:layout_constraintStart_toEndOf="@+id/backstage_textview"
|
|
app:layout_constraintTop_toTopOf="@+id/backstage_textview" />
|
|
app:layout_constraintTop_toTopOf="@+id/backstage_textview" />
|
|
|
|
|
|
@@ -37,121 +36,114 @@
|
|
android:id="@+id/tv_end_time1"
|
|
android:id="@+id/tv_end_time1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_height="60dp"
|
|
- android:layout_marginLeft="40dp"
|
|
|
|
|
|
+ android:layout_marginStart="40dp"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="结束时间"
|
|
android:text="结束时间"
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="44sp"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_start_time"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_start_time"
|
|
app:layout_constraintTop_toTopOf="@+id/tv_start_time" />
|
|
app:layout_constraintTop_toTopOf="@+id/tv_start_time" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_end_time"
|
|
android:id="@+id/tv_end_time"
|
|
- android:layout_width="260dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_height="60dp"
|
|
android:layout_marginLeft="18dp"
|
|
android:layout_marginLeft="18dp"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
|
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="请选择结束时间"
|
|
android:text="请选择结束时间"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="44sp"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_end_time1"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_end_time1"
|
|
app:layout_constraintTop_toTopOf="@+id/tv_end_time1" />
|
|
app:layout_constraintTop_toTopOf="@+id/tv_end_time1" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/backstage_textview10"
|
|
android:id="@+id/backstage_textview10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="60dp"
|
|
|
|
- android:layout_marginStart="40dp"
|
|
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:layout_marginTop="30dp"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="单位"
|
|
android:text="单位"
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/tv_end_time"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_end_time" />
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:layout_marginStart="180dp"
|
|
|
|
+ android:textSize="44sp"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/backstage_textview" />
|
|
|
|
|
|
<RadioGroup
|
|
<RadioGroup
|
|
android:id="@+id/rg_fancy"
|
|
android:id="@+id/rg_fancy"
|
|
- android:layout_width="260dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:padding="10dp"
|
|
|
|
+ android:layout_marginTop="30dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_marginStart="18dp"
|
|
android:layout_marginStart="18dp"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
android:background="@drawable/backstage_shape_debug_param_cb_unselect"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
- app:layout_constraintStart_toEndOf="@+id/backstage_textview10"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/backstage_textview10">
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@id/backstage_textview10"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/backstage_textview">
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rb_hour"
|
|
android:id="@+id/rb_hour"
|
|
- android:layout_width="60dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="80dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
- android:layout_marginStart="5dp"
|
|
|
|
|
|
+ android:layout_marginStart="15dp"
|
|
android:checked="true"
|
|
android:checked="true"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawablePadding="5dp"
|
|
android:drawablePadding="5dp"
|
|
android:text="小时"
|
|
android:text="小时"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="36sp" />
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rb_day"
|
|
android:id="@+id/rb_day"
|
|
- android:layout_width="60dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:layout_marginStart="15dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawablePadding="5dp"
|
|
android:drawablePadding="5dp"
|
|
android:text="日"
|
|
android:text="日"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="36sp" />
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rb_month"
|
|
android:id="@+id/rb_month"
|
|
- android:layout_width="60dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
|
+ android:layout_height="80dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawablePadding="5dp"
|
|
android:drawablePadding="5dp"
|
|
android:text="月"
|
|
android:text="月"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="36sp" />
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rb_year"
|
|
android:id="@+id/rb_year"
|
|
- android:layout_width="60dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:layout_marginStart="15dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawableStart="@drawable/backstage_selector_rb_bg"
|
|
android:drawablePadding="5dp"
|
|
android:drawablePadding="5dp"
|
|
android:text="年"
|
|
android:text="年"
|
|
- android:textColor="#576478"
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="36sp" />
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
|
|
|
|
- <!-- <TextView-->
|
|
|
|
- <!-- android:id="@+id/backstage_textview10"-->
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
- <!-- android:layout_height="wrap_content"-->
|
|
|
|
- <!-- android:layout_marginLeft="18dp"-->
|
|
|
|
- <!-- android:layout_marginTop="50dp"-->
|
|
|
|
- <!-- android:background="@drawable/backstage_shape_debug_param_cb_unselect"-->
|
|
|
|
- <!-- android:text="请选择结束时间"-->
|
|
|
|
- <!-- android:textColor="#576478"-->
|
|
|
|
- <!-- android:textSize="24sp"-->
|
|
|
|
- <!-- app:layout_constraintStart_toEndOf="@+id/tv_dangwei"-->
|
|
|
|
- <!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
|
-
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_screen"
|
|
android:id="@+id/tv_screen"
|
|
- android:layout_width="134dp"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
- android:layout_marginStart="32dp"
|
|
|
|
|
|
+ android:layout_width="174dp"
|
|
|
|
+ android:layout_height="70dp"
|
|
|
|
+ android:layout_marginStart="30dp"
|
|
android:background="@drawable/backstage_shape_gen_content"
|
|
android:background="@drawable/backstage_shape_gen_content"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:text="筛选"
|
|
android:text="筛选"
|
|
@@ -163,13 +155,14 @@
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_alarm"
|
|
android:id="@+id/rv_alarm"
|
|
android:layout_width="1500dp"
|
|
android:layout_width="1500dp"
|
|
- android:layout_height="580dp"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:maxHeight="2080dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:background="@drawable/backstage_shape_error_white"
|
|
android:background="@drawable/backstage_shape_error_white"
|
|
android:paddingVertical="10dp"
|
|
android:paddingVertical="10dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_end_time" />
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_screen" />
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_error_tips"
|
|
android:id="@+id/tv_error_tips"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|