default_layout_nested_sc.xml 2.75 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/default_root_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:visibility="gone"
    tools:visibility="visible">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/layout_follow_more_creator"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp36"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginTop="@dimen/rmrb_dp10"
        android:layout_marginBottom="@dimen/rmrb_dp2"
        android:background="@drawable/shape_follow_header_bg"
        android:visibility="gone">

        <TextView
            android:id="@+id/tv_more"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/res_attention_more"
            android:textColor="@color/res_color_common_C1"
            android:textSize="@dimen/rmrb_dp14"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/iv_more"
            app:layout_constraintHorizontal_chainStyle="packed"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/iv_more"
            android:layout_width="@dimen/rmrb_dp15"
            android:layout_height="@dimen/rmrb_dp15"
            android:scaleType="centerCrop"
            android:src="@mipmap/icon_setting_arrow"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@id/tv_more"
            app:layout_constraintTop_toTopOf="parent" />

    </androidx.constraintlayout.widget.ConstraintLayout>

    <View
        android:id="@+id/top_View"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="240" />

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <include
            layout="@layout/default_item_layout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal" />
    </androidx.core.widget.NestedScrollView>
    <View
        android:id="@+id/btmspaceview"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="240" />

</LinearLayout>