ytdlnis/app/src/main/res/values/styles.xml
deniscerri a9f1e106a3
cleanup
Fixes:
When removing audio it doesn't remove the best audio
Make app only get the link part from Pinterest in share menu.   Look at this video... 👀 https://pin.it/...
add beta functionality to the app updating
If you are in beta and want to go to release allow downgrading
Language change doesnt restart activity
2023-09-07 19:41:42 +02:00

63 lines
2.7 KiB
XML

<resources>
<style name="Theme.BottomSheet" parent="BaseTheme">
<item name="windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowContentOverlay">@null</item>
<item name="preferenceTheme">@style/PreferenceTheme</item>
</style>
<style name="Divider">
<item name="android:background">@color/light_grey</item>
</style>
<style name="Divider.Horizontal" parent="Divider">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">1dp</item> // You can change thickness here.
<item name="android:layout_marginBottom">10dp</item>
</style>
<style name="Divider.Vertical" parent="Divider">
<item name="android:layout_width">1dp</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_marginTop">10dp</item>
<item name="android:layout_marginBottom">10dp</item>
<item name="android:layout_marginEnd">5dp</item>
<item name="android:layout_marginStart">5dp</item>
</style>
<style name="ShapeAppearanceOverlay.Avatar" parent="ShapeAppearance.MaterialComponents.SmallComponent">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">5dp</item>
</style>
<style name="ShapeAppearanceOverlay.Chip.Rounded" parent="ShapeAppearance.MaterialComponents.SmallComponent">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopLeft">12dp</item>
<item name="cornerSizeTopRight">12dp</item>
<item name="cornerSizeBottomLeft">12dp</item>
<item name="cornerSizeBottomRight">12dp</item>
</style>
<style name="Preference.SwitchPreferenceCompat.Material3" parent="@style/Preference.SwitchPreferenceCompat.Material">
<item name="widgetLayout">@layout/preferece_material_switch</item>
</style>
<style name="snackBarStyle" parent="@style/Widget.Material3.Snackbar">
<item name="shapeAppearance">@style/ShapeAppearance.Material3.Corner.ExtraLarge</item>
<item name="android:paddingStart">20dp</item>
<item name="android:paddingEnd">20dp</item>
<item name="maxLines">2</item>
<item name="animationMode">slide</item>
</style>
<style name="FullScreenDialogTheme" parent="MaterialAlertDialog.Material3">
<item name="android:windowIsFloating">false</item>
</style>
<style name="PreferenceTheme" parent="PreferenceThemeOverlay">
<item name="singleLineTitle">false</item>
</style>
</resources>