| | |
| | | android:layout_marginStart="@dimen/dp_17" |
| | | android:layout_marginEnd="@dimen/dp_16" |
| | | android:orientation="horizontal"> |
| | | |
| | | <!--全部--> |
| | | <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> |
| | | <!--发生中--> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/message_tab_nascent_cl" |
| | |
| | | |
| | | |
| | | </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--> |
| | | <!--Fragment--> |
| | | <androidx.fragment.app.FragmentContainerView |
| | | android:id="@+id/message_all_fcv" |
| | | android:name="com.hdl.photovoltaic.ui.message.AllMessageFragment" |
| | | android:id="@+id/message_fcv" |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:tag="message_all_rcv" |
| | | 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_nascent_fcv" |
| | | android:name="com.hdl.photovoltaic.ui.message.NascentMessageFragment" |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:tag="message_nascent_rcv" |
| | | 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="0dp" |
| | | android:layout_height="0dp" |
| | | android:tag="message_recover_rcv" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |