cloudstream/app/src/main/res/layout/home_result_big_grid.xml

72 lines
2.9 KiB
XML
Raw Normal View History

2021-10-22 13:23:48 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!-- android:layout_width="114dp"
android:layout_height="180dp"-->
2022-01-29 18:57:19 +00:00
<androidx.cardview.widget.CardView 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"
2021-10-22 13:23:48 +00:00
android:foreground="@drawable/outline_drawable"
android:layout_margin="2dp"
android:layout_width="148dp"
android:layout_height="234dp"
android:layout_marginBottom="2dp"
android:elevation="10dp"
2021-11-27 18:49:51 +00:00
app:cardCornerRadius="@dimen/rounded_image_radius"
2022-04-27 19:48:27 +00:00
android:id="@+id/background_card"
2022-01-29 18:57:19 +00:00
app:cardBackgroundColor="?attr/primaryGrayBackground">
2021-10-22 13:23:48 +00:00
<ImageView
android:duplicateParentState="true"
android:id="@+id/imageView"
tools:src="@drawable/example_poster"
android:scaleType="centerCrop"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
2022-01-29 18:57:19 +00:00
android:contentDescription="@string/search_poster_img_des" />
2022-04-27 19:48:27 +00:00
2022-04-13 17:29:30 +00:00
<TextView
tools:text="@string/quality_hd"
android:id="@+id/text_quality"
style="@style/SearchBox"
2022-04-27 19:48:27 +00:00
android:background="@drawable/type_bg_color" />
2021-10-22 13:23:48 +00:00
<!--
<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"
2021-10-31 01:17:56 +00:00
android:textColor="?attr/textColor"
2021-10-22 13:23:48 +00:00
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="4dp"
android:layout_marginBottom="5dp"
android:layout_gravity="end"
android:paddingBottom="4dp"
android:minWidth="50dp"
android:gravity="center"
android:background="@drawable/dub_bg_color"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
<TextView
android:id="@+id/text_is_sub"
android:text="@string/app_subbed_text"
android:layout_gravity="end"
2021-10-31 01:17:56 +00:00
android:textColor="?attr/textColor"
2021-10-22 13:23:48 +00:00
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:minWidth="50dp"
android:gravity="center"
android:background="@drawable/sub_bg_color"
android:layout_width="wrap_content" android:layout_height="wrap_content"
/>
</LinearLayout>
-->
</androidx.cardview.widget.CardView>