<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:rounded="http://schemas.android.com/apk/res-auto"
    android:id="@+id/received_request_item_bottom_sheet"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/white"
    android:orientation="vertical">

    <LinearLayout
        android:id="@+id/received_request_list_received_request_title_layout"
        android:layout_width="match_parent"
        android:layout_height="72dp"
        android:layout_marginTop="8dp"
        android:orientation="horizontal" >

        <RelativeLayout
            android:id="@+id/received_request_list_relative_layout_avatar"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_gravity="center_vertical"
            android:layout_marginLeft="16dp">

            <mega.privacy.android.app.components.RoundedImageView
                android:id="@+id/sliding_received_request_list_thumbnail"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:scaleType="fitCenter"
                rounded:border_color="@color/border_file_properties"
                rounded:border_width="0dp"
                rounded:corner_radius="20dp" />

        </RelativeLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:layout_marginLeft="16dp">

            <TextView
                android:id="@+id/received_request_list_contact_name_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:singleLine="true"
                android:maxLines="1"
                android:ellipsize="end"
                android:textColor="@color/name_my_account"
                android:textSize="16sp"/>

            <TextView
                android:id="@+id/received_request_list_contact_mail_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="@color/mail_my_account"
                android:gravity="center_vertical"
                android:layout_below="@+id/received_request_list_contact_name_text"
                android:textSize="14sp"
                android:singleLine="true"
                android:maxLines="1"
                android:ellipsize="middle"/>

        </RelativeLayout>


    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_marginLeft="16dp"
        android:background="@color/sliding_panel_separator"/>

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

        <LinearLayout
            android:id="@+id/items_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <LinearLayout
                android:id="@+id/contact_list_option_accept_layout"
                android:layout_width="match_parent"
                android:layout_height="50dp"
                android:gravity="center_vertical"
                android:orientation="horizontal" >

                <ImageView
                    android:id="@+id/contact_list_option_accept"
                    style="@style/dialogActionButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:alpha="0.54"
                    android:paddingBottom="2dp"
                    android:layout_marginLeft="5dp"
                    android:paddingTop="2dp"
                    android:src="@drawable/ic_accept"
                    android:visibility="visible" />

                <TextView
                    android:id="@+id/contact_list_option_accept_text"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingBottom="2dp"
                    android:paddingTop="2dp"
                    android:text="@string/contact_accept"
                    android:layout_marginLeft="18dp"
                    android:textColor="@color/name_my_account"
                    android:textSize="16sp"/>
            </LinearLayout>

            <LinearLayout
                android:id="@+id/contact_list_option_ignore_layout"
                android:layout_width="match_parent"
                android:layout_height="50dp"
                android:gravity="center_vertical"
                android:orientation="horizontal" >

                <ImageView
                    android:id="@+id/contact_list_option_ignore"
                    style="@style/dialogActionButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:alpha="0.54"
                    android:layout_marginLeft="5dp"
                    android:paddingBottom="2dp"
                    android:paddingTop="2dp"
                    android:src="@drawable/ic_ignore"
                    android:visibility="visible" />

                <TextView
                    android:id="@+id/contact_list_option_ignore_text"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingBottom="2dp"
                    android:paddingTop="2dp"
                    android:layout_marginLeft="18dp"
                    android:text="@string/contact_ignore"
                    android:textColor="@color/name_my_account"
                    android:textSize="16sp"/>
            </LinearLayout>


            <LinearLayout
                android:id="@+id/contact_list_option_decline_layout"
                android:layout_width="match_parent"
                android:layout_height="50dp"
                android:gravity="center_vertical"
                android:orientation="horizontal" >

                <ImageView
                    android:id="@+id/contact_list_option_decline"
                    style="@style/dialogActionButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="5dp"
                    android:paddingBottom="2dp"
                    android:paddingTop="2dp"
                    android:tint="@color/dark_primary_color"
                    android:src="@drawable/ic_decline"
                    android:visibility="visible" />

                <TextView
                    android:id="@+id/contact_list_option_decline_text"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingBottom="2dp"
                    android:paddingTop="2dp"
                    android:layout_marginLeft="18dp"
                    android:text="@string/contact_decline"
                    android:textColor="@color/dark_primary_color"
                    android:textSize="16sp"/>
            </LinearLayout>

        </LinearLayout>

    </androidx.core.widget.NestedScrollView>

</LinearLayout>