<RelativeLayout 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:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/_2sdp"
    android:background="@drawable/bg_card_item">

    <androidx.nemosofts.material.ImageHelperView
        android:id="@+id/iv_movie"
        app:hv_corner_radius="@dimen/_2sdp"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentTop="true"
        android:adjustViewBounds="true"/>

    <TextView
        android:id="@+id/tv_movie_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignBottom="@+id/iv_movie"
        android:ellipsize="end"
        android:lineSpacingMultiplier="0.9"
        android:maxLines="2"
        android:padding="@dimen/_2sdp"
        android:text="@string/app_name"
        android:textAlignment="center"
        android:textColor="@color/white"
        android:textSize="@dimen/_8ssp"
        android:layout_margin="@dimen/_5sdp"
        android:background="@drawable/bg_star" />

    <LinearLayout
        android:id="@+id/ll_card_star"
        android:gravity="center"
        android:layout_margin="@dimen/_5sdp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/bg_star"
        android:paddingStart="@dimen/_2sdp"
        android:paddingEnd="@dimen/_2sdp">

        <ImageView
            android:src="@drawable/ic_star_border"
            android:layout_width="@dimen/_11sdp"
            android:layout_height="@dimen/_11sdp"
            android:contentDescription="@string/todo"
            app:tint="?ns_white" />

        <TextView
            android:id="@+id/tv_movie_rating"
            android:text="1"
            android:textSize="@dimen/_8ssp"
            android:textColor="?ns_white"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="@dimen/_2sdp"
            android:paddingBottom="@dimen/_1sdp"
            tools:ignore="HardcodedText" />

    </LinearLayout>

    <View
        android:id="@+id/fd_movie_card"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:focusable="true"
        android:focusableInTouchMode="false"
        android:background="@drawable/focused_movie"
        android:layout_alignBottom="@+id/iv_movie"/>

</RelativeLayout>
