| | |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_EDEFF2" |
| | | android:background="@color/text_FFECECEC" |
| | | tools:context=".ui.newC.MessageCenterList"> |
| | | |
| | | <include |
| | |
| | | android:id="@+id/all_device_title_iv" |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:layout_marginStart="@dimen/dp_7" |
| | | android:background="@drawable/up" |
| | | android:layout_marginStart="@dimen/dp_5" |
| | | android:background="@drawable/down" |
| | | app:layout_constraintBottom_toBottomOf="@+id/all_device_title_tv" |
| | | app:layout_constraintStart_toEndOf="@+id/all_device_title_tv" |
| | | app:layout_constraintTop_toTopOf="@+id/all_device_title_tv" /> |
| | |
| | | android:id="@+id/all_grade_title_iv" |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:layout_marginStart="@dimen/dp_7" |
| | | android:background="@drawable/up" |
| | | android:layout_marginStart="@dimen/dp_5" |
| | | android:background="@drawable/down" |
| | | app:layout_constraintBottom_toBottomOf="@+id/all_grade_title_tv" |
| | | app:layout_constraintStart_toEndOf="@+id/all_grade_title_tv" |
| | | app:layout_constraintTop_toTopOf="@+id/all_grade_title_tv" /> |
| | |
| | | android:id="@+id/all_time_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_20" |
| | | android:layout_marginEnd="@dimen/dp_7" |
| | | android:layout_marginEnd="@dimen/dp_5" |
| | | android:text="@string/alarm_all_time" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_14" |
| | |
| | | android:id="@+id/all_time_title_iv" |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:background="@drawable/up" |
| | | android:background="@drawable/down" |
| | | app:layout_constraintBottom_toBottomOf="@+id/all_time_title_tv" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="@+id/all_time_title_tv" /> |
| | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/message_content_rl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:clipToPadding="false" |
| | | android:paddingBottom="@dimen/dp_16" /> |
| | | android:layout_height="match_parent" /> |
| | | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| | | |
| | | <!--没有数据显示样式--> |
| | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/message_bottom_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="82dp" |
| | | android:background="@color/text_FFFFFFFF" |
| | | android:layout_height="64dp" |
| | | android:background="@drawable/ffffff_18" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_49" |
| | | android:layout_height="@dimen/dp_47" |
| | | android:orientation="horizontal" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | android:gravity="center" |
| | | android:text="@string/alarm_device" |
| | | android:textColor="@color/text_191919" |
| | | android:textSize="@dimen/text_14" |
| | | android:textSize="@dimen/text_16" |
| | | android:textStyle="bold" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | |
| | | <View |
| | | android:id="@+id/message_bottom_alarm_device_line_v" |
| | | android:layout_width="0dp" |
| | | android:layout_width="18dp" |
| | | android:layout_height="3dp" |
| | | android:layout_marginTop="@dimen/dp_11" |
| | | android:background="@color/text_191919" |
| | | android:layout_marginTop="4.5dp" |
| | | android:background="@drawable/line_view" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="@+id/message_bottom_alarm_device_title_tv" |
| | | app:layout_constraintStart_toStartOf="@+id/message_bottom_alarm_device_title_tv" /> |
| | |
| | | android:gravity="center" |
| | | android:text="@string/alarm_record" |
| | | android:textColor="@color/text_191919" |
| | | android:textSize="@dimen/text_14" |
| | | android:textStyle="bold" |
| | | android:textSize="@dimen/text_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <View |
| | | android:id="@+id/message_bottom_alarm_record_line_v" |
| | | android:layout_width="0dp" |
| | | android:layout_width="@dimen/dp_18" |
| | | android:layout_height="3dp" |
| | | android:layout_marginTop="@dimen/dp_11" |
| | | android:background="@color/text_191919" |
| | | android:layout_marginTop="4.5dp" |
| | | android:background="@drawable/line_view" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="@+id/message_bottom_alarm_record_title_tv" |
| | | app:layout_constraintStart_toStartOf="@+id/message_bottom_alarm_record_title_tv" /> |