layout_full_video_share.xml 1.61 KB
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <data>

        <variable
            name="paddingRight"
            type="int" />

    </data>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <View
            android:id="@+id/shareOutClickView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_toLeftOf="@+id/shareRightLayout" />

        <RelativeLayout
            android:id="@+id/shareRightLayout"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentRight="true"
            android:background="@color/share_bg"
            android:paddingRight="@{paddingRight}">

            <TextView
                android:id="@+id/shareTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="20dp"
                android:layout_marginTop="28dp"
                android:text="分享视频"
                android:textColor="#ffffff"
                android:textSize="18sp" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/shareRecyclerView"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_below="@+id/shareTitle"
                android:layout_marginTop="50dp" />

        </RelativeLayout>

    </RelativeLayout>
</layout>