| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <layout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto"> |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | xmlns:tools="http://schemas.android.com/tools"> |
| | | |
| | | <data> |
| | | |
| | | <variable |
| | | name="viewModel" |
| | | type="com.xw.yunwei.ui.user.mine.protocol.ProtocolVM" /> |
| | | </data> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | android:layout_height="match_parent" |
| | | android:background="@color/white"> |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/back" |
| | |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | app:layout_constraintTop_toTopOf="@+id/back" /> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:orientation="vertical" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginTop="@dimen/dp_88" |
| | | android:layout_height="match_parent"> |
| | | android:orientation="vertical"> |
| | | |
| | | <com.google.android.material.tabs.TabLayout |
| | | android:id="@+id/tabLayout" |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/rv_list" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="@null" |
| | | app:layout_collapseMode="pin" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/title" |
| | | app:tabBackground="@null" |
| | | app:tabIndicatorColor="@color/blue_5" |
| | | app:tabIndicator="@drawable/layer_indicator_1" |
| | | app:tabIndicatorHeight="@dimen/dp_4" |
| | | app:tabGravity="fill" |
| | | app:tabIndicatorFullWidth="false" |
| | | app:tabMode="scrollable" |
| | | app:tabRippleColor="@null" |
| | | app:tabSelectedTextColor="@color/blue_5" |
| | | app:tabTextAppearance="@style/TabTextStyle14" |
| | | app:tabTextColor="@color/gray_7" /> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/gray_4"/> |
| | | |
| | | <WebView |
| | | android:id="@+id/web" |
| | | android:background="@color/white" |
| | | android:layout_marginHorizontal="@dimen/dp_20" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"/> |
| | | |
| | | tools:itemCount="4" |
| | | tools:listitem="@layout/item_protocol_entrance" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | </layout> |