2021-05-16 18:28:00 +00:00
<?xml version="1.0" encoding="utf-8"?>
2021-05-18 13:43:32 +00:00
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:id="@+id/result_root"
android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/bitDarkerGrayBackground"
android:clickable="true"
android:focusable="true"
>
<com.google.android.material.appbar.AppBarLayout
2021-06-06 18:06:01 +00:00
android:visibility="gone"
2021-05-18 13:43:32 +00:00
android:id="@+id/result_barstatus"
android:background="@color/grayBackground"
android:layout_width="match_parent"
android:alpha="0"
tools:alpha="1"
android:layout_height="wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/result_toolbar"
android:paddingTop="@dimen/navbarHeight"
app:title="Perfect Run"
app:layout_scrollFlags="scroll|enterAlways"
android:layout_width="match_parent" android:layout_height="wrap_content">
</com.google.android.material.appbar.MaterialToolbar>
</com.google.android.material.appbar.AppBarLayout>
2021-05-16 18:28:00 +00:00
2021-06-06 18:06:01 +00:00
<FrameLayout android:layout_width= "match_parent" android:id= "@+id/result_poster_blur_holder"
android:layout_height="200dp">
2021-05-18 13:43:32 +00:00
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
2021-06-06 18:06:01 +00:00
android:alpha="0.7"
2021-05-18 13:43:32 +00:00
tools:src="@drawable/example_poster"
android:background="@color/darkBackground"
android:id="@+id/result_poster_blur"
android:contentDescription=""/>
<ImageView android:src= "@drawable/background_shadow" android:layout_gravity= "bottom"
2021-06-06 18:06:01 +00:00
android:layout_width="match_parent" android:layout_height="30dp">
2021-05-18 13:43:32 +00:00
</ImageView>
</FrameLayout>
2021-06-06 18:06:01 +00:00
<androidx.core.widget.NestedScrollView
android:id="@+id/result_scroll" android:layout_width="match_parent"
android:layout_height="wrap_content">
2021-05-18 13:43:32 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
2021-06-06 18:06:01 +00:00
<!--
<LinearLayout android:orientation= "horizontal" android:layout_width= "match_parent"
android:layout_height="30dp">
<ImageView android:id= "@+id/result_back" android:src= "@drawable/ic_baseline_arrow_back_24"
android:layout_width="wrap_content" android:layout_height="match_parent">
</ImageView>
</LinearLayout> -->
<LinearLayout
android:layout_marginTop="10dp"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/result_poster"
android:layout_width="100dp" android:layout_height="150dp"
tools:src="@drawable/example_poster"
android:contentDescription="@string/result_poster"/>
<LinearLayout android:layout_marginLeft= "10dp"
android:gravity="center_vertical"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
2021-05-18 13:43:32 +00:00
<TextView
2021-06-06 18:06:01 +00:00
tools:text="The Perfect Run The Perfect Run The Perfect Run"
2021-05-18 13:43:32 +00:00
android:id="@+id/result_title"
2021-06-06 18:06:01 +00:00
android:textSize="20sp"
2021-05-18 13:43:32 +00:00
android:textStyle="bold"
2021-06-06 18:06:01 +00:00
android:textColor="?attr/textColor" android:layout_width="wrap_content"
2021-05-18 13:43:32 +00:00
android:layout_height="wrap_content">
</TextView>
<TextView
android:id="@+id/result_year"
tools:text="2021"
2021-06-06 18:06:01 +00:00
android:textStyle="bold"
android:textSize="15sp"
android:textColor="?attr/textColor" android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<TextView
android:id="@+id/result_status"
tools:text="Finished"
2021-05-18 13:43:32 +00:00
android:textSize="15sp"
2021-06-06 18:06:01 +00:00
android:textColor="?attr/textColor" android:layout_width="wrap_content"
2021-05-18 13:43:32 +00:00
android:layout_height="wrap_content">
</TextView>
2021-06-06 18:06:01 +00:00
2021-05-18 13:43:32 +00:00
</LinearLayout>
2021-06-06 18:06:01 +00:00
2021-06-06 19:22:50 +00:00
</LinearLayout>
<GridLayout android:layout_width= "match_parent" android:layout_height= "50dp" >
2021-05-18 13:43:32 +00:00
<com.google.android.material.button.MaterialButton
2021-06-06 19:22:50 +00:00
android:visibility="visible"
android:layout_gravity="center_vertical"
app:cornerRadius="4dp"
2021-05-18 13:43:32 +00:00
android:id="@+id/result_bookmark_button"
tools:text="Bookmark"
2021-06-06 19:22:50 +00:00
app:rippleColor="?attr/colorPrimary"
android:textColor="?attr/textColor"
app:iconTint="?attr/textColor"
2021-05-18 13:43:32 +00:00
android:textAllCaps="false"
2021-06-06 19:22:50 +00:00
app:icon="@drawable/ic_outline_remove_red_eye_24"
android:backgroundTint="@color/transparent"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
2021-05-18 13:43:32 +00:00
android:layout_width="wrap_content"
android:layout_height="45dp">
</com.google.android.material.button.MaterialButton>
2021-06-06 19:22:50 +00:00
<!-- <ImageView
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_baseline_bookmark_border_24"
android:layout_width="wrap_content"
android:layout_height="match_parent">
</ImageView> -->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/media_route_button_holder"
android:layout_gravity="center_vertical|end"
>
<androidx.mediarouter.app.MediaRouteButton
android:id="@+id/media_route_button"
android:layout_width="50dp"
android:layout_height="50dp"
android:mediaRouteTypes="user"
android:visibility="gone"
/>
<ImageView
2021-06-06 19:23:17 +00:00
android:id="@+id/result_share"
2021-06-06 19:22:50 +00:00
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_margin="5dp"
android:elevation="10dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
2021-06-06 19:23:17 +00:00
android:src="@drawable/ic_outline_share_24"
android:layout_gravity="center" android:contentDescription="@string/result_share">
2021-06-06 19:22:50 +00:00
</ImageView>
<ImageView
2021-06-06 19:23:17 +00:00
android:id="@+id/result_browser"
2021-06-06 19:22:50 +00:00
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_margin="5dp"
android:elevation="10dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
2021-06-06 19:23:17 +00:00
android:src="@drawable/ic_baseline_public_24"
android:layout_gravity="center" android:contentDescription="@string/result_open_in_browser">
2021-06-06 19:22:50 +00:00
</ImageView>
</LinearLayout>
</GridLayout>
2021-05-18 13:43:32 +00:00
<TextView
2021-06-06 18:06:01 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/result_plot"
android:textSize="17sp"
2021-05-18 13:43:32 +00:00
android:layout_marginTop="10dp"
2021-06-06 18:06:01 +00:00
android:layout_marginBottom="10dp"
android:textStyle="normal"
android:textColor="?attr/textColor"
/>
2021-05-18 13:43:32 +00:00
<TextView
android:id="@+id/result_descript"
tools:text="Ryan Quicksave Romano is an eccentric adventurer with a strange power: he can create a save-point in time and redo his life whenever he dies. Arriving in New Rome, the glitzy capital of sin of a rebuilding Europe, he finds the city torn between mega-corporations, sponsored heroes, superpowered criminals, and true monsters. It's a time of chaos, where potions can grant the power to rule the world and dangers lurk everywhere. "
android:layout_width="match_parent" android:layout_height="wrap_content">
</TextView>
<TextView
2021-06-06 18:06:01 +00:00
android:id="@+id/result_tag_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/result_tags"
android:textSize="17sp"
2021-05-18 13:43:32 +00:00
android:layout_marginTop="10dp"
2021-06-06 18:06:01 +00:00
android:layout_marginBottom="10dp"
android:textStyle="normal"
android:textColor="?attr/textColor"
/>
<com.lagradost.cloudstream3.widget.FlowLayout android:id= "@+id/result_tag"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</com.lagradost.cloudstream3.widget.FlowLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2021-05-18 13:43:32 +00:00
android:id="@+id/result_episodes_text"
tools:text="8 Episodes"
2021-06-06 18:06:01 +00:00
android:textSize="17sp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:textStyle="normal"
android:textColor="?attr/textColor"
/>
2021-05-18 13:43:32 +00:00
<androidx.recyclerview.widget.RecyclerView
2021-06-06 18:06:01 +00:00
android:layout_marginTop="10dp"
2021-05-18 13:43:32 +00:00
tools:listitem="@layout/result_episode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/result_episodes"
/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<!--
<androidx.cardview.widget.CardView
android:layout_width="100dp"
android:layout_height="150dp"
app:cardCornerRadius="@dimen/roundedImageRadius"
android:elevation="10dp"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:id="@+id/result_poster"
android:clickable="true"
android:focusable="true"
tools:src="@drawable/example_poster"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/search_poster_descript"/>
</androidx.cardview.widget.CardView> -->
</FrameLayout>