mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 05:01:06 +00:00
161 lines
6.7 KiB
XML
161 lines
6.7 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/notifications"
|
|
android:textColor="?attr/colorSecondary"
|
|
app:drawableEndCompat="@drawable/ic_round_arrow_drop_down_24"
|
|
tools:ignore="TextContrastCheck" />
|
|
|
|
<Button
|
|
android:id="@+id/settingsSubscriptionsTime"
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-11dp"
|
|
android:layout_marginTop="8dp"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:text="@string/subscriptions_checking_time_s"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_notifications_none_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:alpha="0.58"
|
|
android:fontFamily="@font/poppins_family"
|
|
android:text="@string/subscriptions_info"
|
|
android:textSize="14sp" />
|
|
|
|
<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/settingsAnilistNotifications"
|
|
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/anilist_notification_filters"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_anilist"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/settingsAnilistSubscriptionsTime"
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-11dp"
|
|
android:layout_marginTop="8dp"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:text="@string/anilist_notifications_checking_time"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_notifications_none_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp" />
|
|
|
|
<Button
|
|
android:id="@+id/settingsCommentSubscriptionsTime"
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-11dp"
|
|
android:layout_marginTop="8dp"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:text="@string/comment_notification_checking_time"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_notifications_none_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="-16dp"
|
|
android:layout_marginEnd="-16dp"
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/settingsNotificationsCheckingSubscriptions"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:drawableStart="@drawable/ic_round_smart_button_24"
|
|
android:drawablePadding="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:minHeight="64dp"
|
|
android:text="@string/notification_for_checking_subscriptions"
|
|
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/settingsNotificationsUseAlarmManager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:drawableStart="@drawable/ic_round_new_releases_24"
|
|
android:drawablePadding="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:minHeight="64dp"
|
|
android:text="@string/use_alarm_manager_reliable"
|
|
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> |