2021-06-26 17:03:22 +00:00
<?xml version="1.0" encoding="utf-8"?>
2022-01-29 18:57:19 +00:00
<androidx.cardview.widget.CardView xmlns:android= "http://schemas.android.com/apk/res/android"
2023-07-13 21:18:37 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2021-10-09 21:59:37 +00:00
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_holder_large"
android:layout_width="wrap_content"
2021-10-09 21:59:37 +00:00
2023-07-13 21:18:37 +00:00
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
2023-10-10 16:05:31 +00:00
android:foreground="@drawable/outline_drawable"
2023-07-15 21:43:09 +00:00
android:nextFocusRight="@id/download_button"
2023-07-13 21:18:37 +00:00
app:cardBackgroundColor="?attr/boxItemBackground"
2021-10-09 21:59:37 +00:00
2023-07-13 21:18:37 +00:00
app:cardCornerRadius="@dimen/rounded_image_radius">
2022-01-29 18:57:19 +00:00
2021-06-26 17:03:22 +00:00
<LinearLayout
2023-07-18 20:35:17 +00:00
android:id="@+id/episode_holder"
2023-07-13 21:18:37 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:orientation="vertical"
android:padding="10dp">
2022-01-29 18:57:19 +00:00
2021-06-26 19:32:50 +00:00
<LinearLayout
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_lin_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
2021-06-26 22:15:19 +00:00
<!-- app:cardCornerRadius="@dimen/roundedImageRadius" -->
2021-06-26 19:32:50 +00:00
<androidx.cardview.widget.CardView
2023-07-13 21:18:37 +00:00
android:layout_width="126dp"
android:layout_height="72dp"
android:foreground="@drawable/outline_drawable">
2022-01-29 18:57:19 +00:00
2021-06-26 17:03:22 +00:00
<ImageView
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_poster"
2021-10-09 21:59:37 +00:00
2023-07-13 21:18:37 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/episode_poster_img_des"
2021-10-13 19:16:46 +00:00
2023-07-13 21:18:37 +00:00
android:foreground="?android:attr/selectableItemBackgroundBorderless"
2023-07-15 21:43:09 +00:00
android:nextFocusRight="@id/download_button"
2023-07-13 21:18:37 +00:00
android:scaleType="centerCrop"
tools:src="@drawable/example_poster" />
2022-01-29 18:57:19 +00:00
2021-06-26 19:32:50 +00:00
<ImageView
2023-07-13 21:18:37 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_gravity="center"
android:contentDescription="@string/play_episode"
android:src="@drawable/play_button" />
2022-01-29 18:57:19 +00:00
2021-06-26 17:03:22 +00:00
<androidx.core.widget.ContentLoadingProgressBar
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_progress"
style="@android:style/Widget.Material.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="5dp"
android:layout_gravity="bottom"
android:layout_marginBottom="-1.5dp"
android:progressBackgroundTint="?attr/colorPrimary"
android:progressTint="?attr/colorPrimary"
tools:progress="50" />
2021-06-26 19:32:50 +00:00
</androidx.cardview.widget.CardView>
2022-01-29 18:57:19 +00:00
2021-06-26 19:32:50 +00:00
<LinearLayout
2023-07-13 21:18:37 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="15dp"
android:layout_marginEnd="50dp"
android:orientation="vertical">
2022-01-07 19:27:25 +00:00
<LinearLayout
2023-07-13 21:18:37 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
2022-01-29 18:57:19 +00:00
2022-01-07 19:27:25 +00:00
<com.google.android.material.button.MaterialButton
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_filler"
2023-07-18 20:35:17 +00:00
style="@style/SmallWhiteButton"
2023-07-13 21:18:37 +00:00
android:layout_gravity="start"
android:layout_marginEnd="10dp"
android:text="@string/filler" />
2022-01-29 18:57:19 +00:00
2022-01-07 19:27:25 +00:00
<TextView
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="?attr/textColor"
android:textStyle="bold"
tools:text="1. Jobless" />
2022-01-07 19:27:25 +00:00
</LinearLayout>
2021-06-26 19:32:50 +00:00
<TextView
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_rating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/grayTextColor"
tools:text="Rated: 8.8" />
2021-06-26 17:03:22 +00:00
</LinearLayout>
2022-01-29 18:57:19 +00:00
2023-07-15 21:43:09 +00:00
<com.lagradost.cloudstream3.ui.download.button.PieFetchButton
android:id="@+id/download_button"
android:layout_width="@dimen/download_size"
android:layout_height="@dimen/download_size"
android:layout_gravity="center_vertical|end"
android:layout_marginStart="-50dp"
android:background="?selectableItemBackgroundBorderless"
android:padding="10dp" />
2021-06-26 17:03:22 +00:00
</LinearLayout>
2022-01-29 18:57:19 +00:00
2021-06-26 17:03:22 +00:00
<TextView
2023-07-13 21:18:37 +00:00
android:id="@+id/episode_descript"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="4"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:textColor="?attr/grayTextColor"
tools:text="Jon and Daenerys arrive in Winterfell and are met with skepticism. Sam learns about the fate of his family. Cersei gives Euron the reward he aims for. Theon follows his heart. Jon and Daenerys arrive in Winterfell and are met with skepticism. Sam learns about the fate of his family. Cersei gives Euron the reward he aims for. Theon follows his heart." />
2021-06-26 17:03:22 +00:00
</LinearLayout>
</androidx.cardview.widget.CardView>