mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
124 lines
No EOL
5.3 KiB
XML
124 lines
No EOL
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ListView
|
|
android:clipToPadding="false"
|
|
android:nextFocusRight="@id/cancel_btt"
|
|
android:nextFocusLeft="@id/apply_btt"
|
|
|
|
android:id="@+id/listview1"
|
|
android:layout_marginBottom="60dp"
|
|
android:minHeight="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:requiresFadingEdge="vertical"
|
|
tools:listitem="@layout/sort_bottom_single_choice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_rowWeight="1" />
|
|
|
|
<HorizontalScrollView
|
|
android:layout_marginTop="-60dp"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:clipToPadding="true"
|
|
android:fadingEdge="horizontal"
|
|
android:requiresFadingEdge="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<!-- android:minWidth="0dp"
|
|
app:iconTint="?attr/textColor"
|
|
android:insetLeft="0dp"
|
|
android:insetTop="0dp"
|
|
android:insetRight="0dp"
|
|
android:insetBottom="0dp"
|
|
app:iconGravity="textStart"
|
|
app:iconPadding="0dp"
|
|
android:layout_height="35dp"-->
|
|
<!-- <com.google.android.material.button.MaterialButton
|
|
android:nextFocusRight="@id/home_select_tv_series"
|
|
app:icon="@drawable/ic_baseline_close_24"
|
|
|
|
android:id="@+id/home_select_none"
|
|
style="@style/RoundedSelectableButtonIcon"/>-->
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusRight="@id/home_select_tv_series"
|
|
|
|
android:id="@+id/home_select_movies"
|
|
android:text="@string/movies"
|
|
style="@style/RoundedSelectableButton" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusLeft="@id/home_select_movies"
|
|
android:nextFocusRight="@id/home_select_anime"
|
|
|
|
android:id="@+id/home_select_tv_series"
|
|
android:text="@string/tv_series"
|
|
style="@style/RoundedSelectableButton" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusLeft="@id/home_select_tv_series"
|
|
android:nextFocusRight="@id/home_select_asian"
|
|
|
|
android:id="@+id/home_select_anime"
|
|
android:text="@string/anime"
|
|
style="@style/RoundedSelectableButton" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusLeft="@id/home_select_anime"
|
|
android:nextFocusRight="@id/home_select_cartoons"
|
|
|
|
android:id="@+id/home_select_asian"
|
|
android:text="@string/asian_drama"
|
|
style="@style/RoundedSelectableButton" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusLeft="@id/home_select_asian"
|
|
android:nextFocusRight="@id/home_select_documentaries"
|
|
|
|
android:id="@+id/home_select_cartoons"
|
|
android:text="@string/cartoons"
|
|
style="@style/RoundedSelectableButton" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:nextFocusLeft="@id/home_select_cartoons"
|
|
|
|
android:id="@+id/home_select_documentaries"
|
|
android:text="@string/documentaries"
|
|
style="@style/RoundedSelectableButton" />
|
|
</LinearLayout>
|
|
</HorizontalScrollView>
|
|
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/apply_btt_holder"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="bottom|end"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
style="@style/WhiteButton"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:text="@string/sort_apply"
|
|
android:id="@+id/apply_btt"
|
|
android:layout_width="wrap_content" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
style="@style/BlackButton"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:text="@string/sort_cancel"
|
|
android:id="@+id/cancel_btt"
|
|
android:layout_width="wrap_content" />
|
|
</LinearLayout>
|
|
</LinearLayout> |