2022-04-25 17:34:14 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-27 19:48:27 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-04-25 17:34:14 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
|
|
android:foreground="@drawable/outline_drawable"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:id="@+id/search_result_root">
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:layout_margin="2dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
app:cardCornerRadius="@dimen/rounded_image_radius"
|
2022-04-27 19:48:27 +00:00
|
|
|
android:id="@+id/background_card"
|
2022-04-25 17:34:14 +00:00
|
|
|
app:cardBackgroundColor="?attr/primaryGrayBackground">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
tools:src="@drawable/example_poster"
|
|
|
|
|
|
|
|
android:duplicateParentState="true"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:foreground="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/search_poster_img_des" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
tools:text="@string/quality_hd"
|
|
|
|
android:id="@+id/text_quality"
|
|
|
|
android:textColor="@color/textColor"
|
|
|
|
style="@style/SearchBox"
|
|
|
|
android:background="@drawable/type_bg_color" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/app_dubbed_text"
|
|
|
|
android:id="@+id/text_is_dub"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
style="@style/SearchBox"
|
|
|
|
android:background="@drawable/dub_bg_color" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_is_sub"
|
|
|
|
android:text="@string/app_subbed_text"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
style="@style/SearchBox"
|
|
|
|
android:background="@drawable/sub_bg_color" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
tools:text="The Perfect Run\nThe Perfect Run"
|
|
|
|
android:layout_width="match_parent"
|
2022-04-27 22:20:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 17:34:14 +00:00
|
|
|
android:textSize="13sp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:textColor="@color/textColor"
|
|
|
|
android:id="@+id/imageText"
|
2022-04-27 22:20:21 +00:00
|
|
|
android:minLines="2"
|
2022-04-25 17:34:14 +00:00
|
|
|
android:maxLines="2"
|
|
|
|
android:paddingStart="5dp"
|
|
|
|
android:paddingEnd="5dp"
|
|
|
|
android:ellipsize="end" />
|
2022-04-27 19:48:27 +00:00
|
|
|
</LinearLayout>
|