| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | <!-- <include--> |
| | | <!-- android:id="@+id/toolbar_top_fragment_me_rl"--> |
| | | <!-- layout="@layout/toolbar_top_view_52" />--> |
| | | android:layout_height="match_parent" |
| | | android:background="@color/text_F5F7FA"> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/message_rl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_52" |
| | | android:background="@color/text_245EC3" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/message_tab_ll" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginStart="@dimen/dp_17" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:orientation="horizontal"> |
| | | |
| | | <!--发生中--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/message_tab_nascent_cl" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | |
| | | <TextView |
| | | android:id="@+id/message_tab_nascent_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_23" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:gravity="center" |
| | | android:text="@string/message_nascent" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textSize="@dimen/text_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <View |
| | | android:id="@+id/line2_v" |
| | | android:layout_width="0dp" |
| | | android:layout_height="3dp" |
| | | android:layout_marginTop="@dimen/dp_11" |
| | | android:background="@color/text_FFFFFFFF" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="@+id/message_tab_nascent_title_tv" |
| | | app:layout_constraintStart_toStartOf="@+id/message_tab_nascent_title_tv" /> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <!--已恢复--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/message_tab_recover_cl" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | |
| | | <TextView |
| | | android:id="@+id/message_tab_recover_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_23" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:gravity="center" |
| | | android:text="@string/message_recover" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textSize="@dimen/text_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <View |
| | | android:id="@+id/line3_v" |
| | | android:layout_width="0dp" |
| | | android:layout_height="3dp" |
| | | android:layout_marginTop="@dimen/dp_11" |
| | | android:background="@color/text_FFFFFFFF" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="@+id/message_tab_recover_title_tv" |
| | | app:layout_constraintStart_toStartOf="@+id/message_tab_recover_title_tv" /> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <!--全部--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/message_tab_all_cl" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1"> |
| | | |
| | | <TextView |
| | | android:id="@+id/message_tab_all_title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_23" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:gravity="center" |
| | | android:text="@string/message_all" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:textSize="@dimen/text_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <View |
| | | android:id="@+id/line1_v" |
| | | android:layout_width="0dp" |
| | | android:layout_height="3dp" |
| | | android:layout_marginTop="@dimen/dp_11" |
| | | android:background="@color/text_FFFFFFFF" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="@+id/message_tab_all_title_tv" |
| | | app:layout_constraintStart_toStartOf="@+id/message_tab_all_title_tv" /> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | </LinearLayout> |
| | | </RelativeLayout> |
| | | |
| | | <!--发生中Fragment--> |
| | | <androidx.fragment.app.FragmentContainerView |
| | | |
| | | android:id="@+id/message_nascent_fcv" |
| | | android:name="com.hdl.photovoltaic.ui.message.NascentMessageFragment" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/message_rl" /> |
| | | <!--已恢复Fragment--> |
| | | <androidx.fragment.app.FragmentContainerView |
| | | |
| | | android:id="@+id/message_recover_fcv" |
| | | android:name="com.hdl.photovoltaic.ui.message.RecoverMessageFragment" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/message_rl" /> |
| | | <!--全部Fragment--> |
| | | <androidx.fragment.app.FragmentContainerView |
| | | |
| | | android:id="@+id/message_all_fcv" |
| | | android:name="com.hdl.photovoltaic.ui.message.AllMessageFragment" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/message_rl" /> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |