
* Branch * Updated Icons (#13) * update * update beta.yml * nicer icons * update view_list_24.xml * revert changes * Missed one
217 lines
No EOL
9.2 KiB
XML
217 lines
No EOL
9.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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">
|
|
<ani.dantotsu.others.Xpandable
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:isExpanded="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/anime"
|
|
android:textColor="?attr/colorSecondary"
|
|
app:drawableEndCompat="@drawable/ic_round_arrow_drop_down_24"
|
|
tools:ignore="TextContrastCheck" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:alpha="0.58"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:text="@string/default_ep_view" />
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:cardBackgroundColor="@color/nav_bg_inv"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsEpList"
|
|
android:layout_width="48dp"
|
|
android:layout_height="64dp"
|
|
android:alpha="0.33"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:src="@drawable/ic_round_view_list_24"
|
|
app:tint="?attr/colorOnBackground"
|
|
tools:ignore="ContentDescription,SpeakableTextPresentCheck,ImageContrastCheck,DuplicateSpeakableTextCheck" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:cardBackgroundColor="@color/nav_bg_inv"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsEpGrid"
|
|
android:layout_width="48dp"
|
|
android:layout_height="64dp"
|
|
android:alpha="0.33"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:scaleX="-1"
|
|
android:src="@drawable/ic_round_grid_view_24"
|
|
app:tint="?attr/colorOnBackground"
|
|
tools:ignore="ContentDescription,SpeakableTextPresentCheck,ImageContrastCheck" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:cardBackgroundColor="@color/nav_bg_inv"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsEpCompact"
|
|
android:layout_width="48dp"
|
|
android:layout_height="64dp"
|
|
android:alpha="0.33"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:src="@drawable/ic_round_view_comfy_24"
|
|
app:tint="?attr/colorOnBackground"
|
|
tools:ignore="ContentDescription,SpeakableTextPresentCheck,ImageContrastCheck,DuplicateSpeakableTextCheck" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="-16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="-16dp"
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
<Button
|
|
android:id="@+id/settingsPlayer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:backgroundTintMode="src_atop"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/player_settings"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_video_settings_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="-16dp"
|
|
android:layout_marginEnd="-16dp"
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
<Button
|
|
android:id="@+id/purgeAnimeDownloads"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/purge_anime_downloads"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_delete_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="-16dp"
|
|
android:layout_marginEnd="-16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/settingsPreferDub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:drawableStart="@drawable/ic_round_audiotrack_24"
|
|
android:drawablePadding="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:minHeight="64dp"
|
|
android:text="@string/prefer_dub"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:drawableTint="?attr/colorPrimary"
|
|
app:showText="false"
|
|
app:thumbTint="@color/button_switch_track" />
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/settingsShowYt"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:drawableStart="@drawable/ic_round_play_circle_24"
|
|
android:drawablePadding="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:minHeight="64dp"
|
|
android:text="@string/show_yt"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:drawableTint="?attr/colorPrimary"
|
|
app:showText="false"
|
|
app:thumbTint="@color/button_switch_track" />
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/settingsIncludeAnimeList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:drawableStart="@drawable/view_list_24"
|
|
android:drawablePadding="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:minHeight="64dp"
|
|
android:text="@string/include_list"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:drawableTint="?attr/colorPrimary"
|
|
app:showText="false"
|
|
app:thumbTint="@color/button_switch_track" />
|
|
|
|
|
|
</ani.dantotsu.others.Xpandable>
|
|
</merge> |