dialog_bottom_sheet_comment.xml 3.65 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"
    android:id="@+id/root_LLT"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/res_shape_white_fix_background_disappearance_issue"
    android:gravity="bottom"
    android:orientation="vertical">


    <RelativeLayout
        android:id="@+id/top_RL"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/rmrb_dp14"
        android:layout_marginBottom="@dimen/rmrb_dp10">

        <ImageView
            android:id="@+id/ivleft"
            android:layout_width="@dimen/rmrb_dp3"
            android:layout_height="@dimen/rmrb_dp16"
            android:layout_centerVertical="true"
            android:layout_marginStart="@dimen/rmrb_dp15"
            android:layout_alignParentLeft="true"
            android:scaleType="fitXY"
            android:src="@mipmap/icon_search_recommendationsleft" />

        <com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
            android:id="@+id/pop_Title_Tv"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toRightOf="@+id/ivleft"
            android:layout_marginLeft="@dimen/rmrb_dp5"
            android:text="@string/res_new_comment"
            android:textColor="@color/res_color_common_C1"
            android:textSize="@dimen/rmrb_dp17"
            app:text_stroke_width="1" />


        <RelativeLayout
            android:id="@+id/pop_delRL"
            android:layout_width="@dimen/rmrb_dp80"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_gravity="center_vertical|end">

            <ImageView
                android:id="@+id/del_Iv"
                android:layout_width="@dimen/rmrb_dp20"
                android:layout_height="@dimen/rmrb_dp20"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:layout_marginEnd="@dimen/rmrb_dp16"
                android:src="@drawable/icon_comment_dialog_cancel" />
        </RelativeLayout>

    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/layout_bottom"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:background="@color/res_color_common_C8">

        <com.wd.common.widget.CustomSmartRefreshLayout
            android:id="@+id/data_SFL"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:srlReboundDuration="400">

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/commentList_Rv"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scrollbars="none" />

        </com.wd.common.widget.CustomSmartRefreshLayout>

        <com.wd.common.progress.PageLoadingView
            android:id="@+id/loading_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:visibility="gone" />
    </RelativeLayout>

    <com.wd.common.widget.BottomCommentFunctionBar
        android:id="@+id/input_Bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp56"
        app:black_bar="false" />

</LinearLayout>