| | |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:id="@+id/message_parent" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | android:layout_height="match_parent" |
| | | android:background="@drawable/bj"> |
| | | <!--头部标签--> |
| | | <RelativeLayout |
| | | android:id="@+id/message_rl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_height="@dimen/dp_44" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_44" |
| | | android:layout_marginTop="@dimen/dp_38" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | |
| | | <TextView |
| | | android:id="@+id/message_tab_nascent_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:gravity="center_vertical" |
| | | android:text="@string/message_nascent" |
| | | android:textColor="@color/text_90000000" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_20" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/message_tab_recover_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="@dimen/dp_21" |
| | | android:layout_marginEnd="@dimen/dp_4" |
| | | android:layout_toStartOf="@+id/all_clear_tv" |
| | | android:layout_marginStart="20dp" |
| | | android:layout_marginEnd="4dp" |
| | | android:layout_toEndOf="@+id/message_tab_nascent_title_tv" |
| | | android:gravity="start|center_vertical" |
| | | android:text="@string/alarm_record" |
| | | android:textColor="@color/text_40000000" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_16" |
| | | |
| | | /> |
| | | |
| | | <TextView |
| | | android:id="@+id/all_clear_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_31" |
| | | android:layout_alignParentEnd="true" |
| | | android:gravity="center" |
| | | android:text="@string/all_read" |
| | | android:textColor="@color/text_38C494" |
| | | android:textSize="@dimen/dp_16" |
| | | <ImageView |
| | | |
| | | /> |
| | | android:id="@+id/all_clear_iv" |
| | | android:layout_width="@dimen/dp_28" |
| | | android:layout_height="@dimen/dp_28" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginTop="@dimen/dp_4" |
| | | android:src="@drawable/clearall" /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | |
| | | android:id="@+id/message_cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="98dp" |
| | | android:layout_marginTop="@dimen/dp_21" |
| | | android:layout_marginTop="@dimen/dp_13" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/message_rl"> |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="@dimen/dp_11" |
| | | android:layout_toEndOf="@+id/power_station_search_iv" |
| | | android:text="Search the message" |
| | | android:textColor="@color/text_40000000" |
| | | android:text="@string/enter_alarm_name" |
| | | android:textColor="@color/text_66000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | </RelativeLayout> |
| | | |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_20" |
| | | android:text="@string/alarm_all_device" |
| | | android:textColor="@color/text_90000000" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_7" |
| | | android:layout_width="@dimen/dp_5" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | <ImageView |
| | |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:layout_marginStart="@dimen/dp_7" |
| | | android:background="@drawable/up" /> |
| | | android:background="@drawable/down" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_20" |
| | | android:text="@string/alarm_all_grade" |
| | | android:textColor="@color/text_90000000" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | <View |
| | | android:layout_width="7dp" |
| | | android:layout_width="5dp" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | <ImageView |
| | |
| | | android:layout_width="@dimen/dp_10" |
| | | android:layout_height="@dimen/dp_10" |
| | | android:layout_marginStart="@dimen/dp_7" |
| | | android:background="@drawable/up" /> |
| | | android:background="@drawable/down" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | |
| | | android:layout_height="@dimen/dp_20" |
| | | android:layout_marginEnd="@dimen/dp_7" |
| | | android:text="@string/alarm_all_time" |
| | | android:textColor="@color/text_90000000" |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_14" /> |
| | | |
| | | <View |
| | | android:layout_width="@dimen/dp_7" |
| | | android:layout_width="@dimen/dp_5" |
| | | android:layout_height="match_parent" /> |
| | | |
| | | <ImageView |
| | | 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" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/message_cl"> |
| | | |
| | | <!-- android:clipToPadding="false" |
| | | android:paddingBottom="@dimen/dp_16" |
| | | 底部间距 |
| | | --> |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/message_rcv" |
| | | 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> |
| | | |
| | | <!--没有数据显示样式--> |