2022-02-04 20:49:35 +00:00
|
|
|
<LinearLayout 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:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/result_top_bar"
|
|
|
|
android:background="?attr/primaryGrayBackground"
|
|
|
|
android:paddingStart="@dimen/result_padding"
|
|
|
|
android:paddingEnd="@dimen/result_padding"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2022-04-03 01:13:02 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
|
|
android:nextFocusDown="@id/result_bookmark_button"
|
|
|
|
android:nextFocusRight="@id/result_share"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2022-02-04 20:49:35 +00:00
|
|
|
|
2022-04-03 01:13:02 +00:00
|
|
|
android:id="@+id/result_back"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2022-02-04 20:49:35 +00:00
|
|
|
|
2022-04-03 01:13:02 +00:00
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_gravity="center_vertical|start"
|
|
|
|
android:src="@drawable/ic_baseline_arrow_back_24"
|
|
|
|
android:contentDescription="@string/go_back"
|
|
|
|
app:tint="?attr/white" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:id="@+id/result_mini_sync"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:descendantFocusability="afterDescendants"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:focusableInTouchMode="false"
|
|
|
|
android:focusable="false"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:requiresFadingEdge="horizontal"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
tools:itemCount="2"
|
|
|
|
tools:listitem="@layout/result_mini_image" />
|
|
|
|
</LinearLayout>
|
2022-02-04 20:49:35 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:gravity="end"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:id="@+id/media_route_button_holder"
|
|
|
|
android:layout_gravity="center_vertical|end">
|
|
|
|
|
|
|
|
<androidx.mediarouter.app.MediaRouteButton
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:id="@+id/media_route_button"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:mediaRouteTypes="user"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:mediaRouteButtonTint="?attr/textColor" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:nextFocusUp="@id/result_back"
|
2022-04-03 21:41:28 +00:00
|
|
|
android:nextFocusDown="@id/result_description"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:nextFocusLeft="@id/result_add_sync"
|
2022-03-14 12:44:54 +00:00
|
|
|
android:nextFocusRight="@id/result_open_in_browser"
|
2022-02-04 20:49:35 +00:00
|
|
|
|
|
|
|
android:id="@+id/result_share"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_outline_share_24"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:contentDescription="@string/result_share"
|
|
|
|
app:tint="?attr/textColor" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:nextFocusUp="@id/result_back"
|
2022-04-03 21:41:28 +00:00
|
|
|
android:nextFocusDown="@id/result_description"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:nextFocusLeft="@id/result_share"
|
|
|
|
android:nextFocusRight="@id/result_search"
|
|
|
|
|
2022-03-14 12:44:54 +00:00
|
|
|
android:id="@+id/result_open_in_browser"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_baseline_public_24"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:contentDescription="@string/result_open_in_browser"
|
|
|
|
app:tint="?attr/textColor" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:nextFocusUp="@id/result_back"
|
2022-04-03 21:41:28 +00:00
|
|
|
android:nextFocusDown="@id/result_description"
|
2022-03-14 12:44:54 +00:00
|
|
|
android:nextFocusLeft="@id/result_open_in_browser"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:nextFocusRight="@id/result_recommendations_btt"
|
|
|
|
|
|
|
|
android:id="@+id/result_search"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/search_icon"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:contentDescription="@string/result_open_in_browser"
|
|
|
|
app:tint="?attr/textColor" />
|
|
|
|
<ImageView
|
2022-04-03 21:41:28 +00:00
|
|
|
tools:visibility="visible"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
android:nextFocusUp="@id/result_back"
|
2022-04-03 21:41:28 +00:00
|
|
|
android:nextFocusDown="@id/result_description"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:nextFocusLeft="@id/result_search"
|
|
|
|
android:nextFocusRight="@id/result_bookmark_button"
|
|
|
|
|
|
|
|
android:id="@+id/result_recommendations_btt"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/baseline_list_alt_24"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:contentDescription="@string/result_open_in_browser"
|
|
|
|
app:tint="?attr/textColor" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
2022-06-16 17:47:48 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/result_fullscreen_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/result_main_holder"
|
2022-02-04 20:49:35 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<com.discord.panels.OverlappingPanelsLayout
|
|
|
|
android:id="@+id/result_overlapping_panels"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<!-- Set layout_gravity on the start panel to "start" -->
|
|
|
|
<FrameLayout
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/start_panel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start">
|
|
|
|
|
2022-02-14 21:12:06 +00:00
|
|
|
<include layout="@layout/result_sync"/>
|
2022-02-04 20:49:35 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/center_panel"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<include layout="@layout/fragment_result" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<!-- Set layout_gravity on the end panel to "end" -->
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/end_panel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="end">
|
|
|
|
|
2022-04-18 00:26:13 +00:00
|
|
|
<include layout="@layout/result_recommendations" />
|
2022-02-04 20:49:35 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</com.discord.panels.OverlappingPanelsLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"
|
|
|
|
android:id="@+id/result_bookmark_fab"
|
|
|
|
app:icon="@drawable/ic_baseline_bookmark_24"
|
|
|
|
style="@style/ExtendedFloatingActionButton"
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
app:customCastBackgroundColor="?attr/primaryBlackBackground"
|
|
|
|
app:castControlButtons="@array/cast_mini_controller_control_buttons"
|
|
|
|
android:id="@+id/cast_mini_controller"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
class="com.lagradost.cloudstream3.ui.MyMiniControllerFragment"
|
|
|
|
tools:ignore="FragmentTagUsage" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|