LibreTube/app/src/main/res/values/style.xml

233 lines
8.8 KiB
XML
Raw Normal View History

2022-04-15 16:56:06 +05:30
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
2022-06-03 22:19:48 +05:30
2022-04-15 16:56:06 +05:30
<style name="roundedImageViewRounded">
2022-07-03 18:13:29 +05:30
2022-04-15 16:56:06 +05:30
<item name="cornerFamily">rounded</item>
<item name="cornerSize">10%</item>
2022-07-03 18:13:29 +05:30
</style>
<style name="CircleImageView">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">50%</item>
2022-06-07 17:12:07 +05:30
</style>
2022-06-19 02:48:36 +05:30
2022-07-03 18:36:17 +05:30
<style name="AboutCard" parent="Widget.Material3.CardView.Elevated">
<item name="android:layout_marginLeft">10dp</item>
<item name="android:layout_marginRight">5dp</item>
<item name="android:layout_marginBottom">5dp</item>
<item name="android:layout_marginTop">10dp</item>
<item name="strokeWidth">0dp</item>
<item name="cardCornerRadius">18dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="cardElevation">5dp</item>
</style>
2022-06-19 02:48:36 +05:30
<style name="AboutItem">
2022-07-03 18:36:17 +05:30
<item name="android:orientation">horizontal</item>
2022-06-19 02:48:36 +05:30
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
2022-07-03 18:13:29 +05:30
<item name="android:layout_marginLeft">20dp</item>
<item name="android:layout_marginRight">20dp</item>
2022-07-03 18:36:17 +05:30
<item name="android:layout_marginTop">15dp</item>
<item name="android:layout_marginBottom">15dp</item>
2022-07-03 18:13:29 +05:30
</style>
2022-07-03 18:36:17 +05:30
<style name="AboutTextView">
2022-07-03 18:13:29 +05:30
<item name="android:layout_height">wrap_content</item>
2022-07-03 18:36:17 +05:30
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_gravity">center</item>
<item name="android:textSize">16sp</item>
<item name="android:textStyle">bold</item>
</style>
<style name="AboutImageView">
<item name="android:layout_height">24dp</item>
<item name="android:layout_width">24dp</item>
<item name="android:layout_marginRight">10dp</item>
2022-06-19 02:48:36 +05:30
</style>
2022-06-26 13:31:43 +05:30
<style name="CustomDialogButton" parent="@style/Widget.Material3.Button.TextButton">
2022-06-21 01:47:13 +05:30
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
2022-08-14 21:05:17 +05:30
<item name="android:layout_gravity">end</item>
2022-06-21 01:47:13 +05:30
<item name="android:layout_marginBottom">8dp</item>
<item name="android:padding">8dp</item>
2022-06-26 13:31:43 +05:30
2022-06-21 01:47:13 +05:30
</style>
<style name="CustomDialogTextInputLayout" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
2022-06-26 13:31:43 +05:30
2022-06-21 01:47:13 +05:30
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
2022-06-26 13:31:43 +05:30
<item name="android:layout_marginLeft">15dp</item>
<item name="android:layout_marginRight">15dp</item>
2022-08-14 21:05:17 +05:30
<item name="android:layout_marginTop">5dp</item>
<item name="android:layout_marginBottom">10dp</item>
2022-06-26 13:31:43 +05:30
2022-06-21 01:47:13 +05:30
</style>
2022-06-28 20:57:57 +05:30
<style name="PlayerActionsLayout">
<item name="android:layout_width">0dp</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1</item>
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
<item name="android:gravity">center</item>
<item name="android:orientation">vertical</item>
</style>
<style name="PlayerActionsText">
<item name="android:autoSizeTextType" tools:targetApi="o">uniform</item>
<item name="android:autoSizeMinTextSize" tools:targetApi="o">10sp</item>
<item name="android:maxLines">1</item>
<item name="android:gravity">bottom</item>
</style>
2022-07-15 01:35:35 +05:30
<style name="PlayerControlBottom">
2022-07-10 17:26:17 +05:30
2022-07-12 20:57:56 +05:30
<item name="android:padding">9dp</item>
2022-07-10 17:26:17 +05:30
<item name="android:layout_height">36dp</item>
<item name="android:layout_width">36dp</item>
<item name="android:layout_gravity">center</item>
2022-07-15 01:35:35 +05:30
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
2022-07-10 17:26:17 +05:30
</style>
<style name="PlayerControlCenter">
<item name="android:layout_width">42dp</item>
<item name="android:layout_height">42dp</item>
<item name="android:backgroundTint">@android:color/white</item>
<item name="android:layout_marginStart">10dp</item>
<item name="android:layout_marginEnd">10dp</item>
</style>
2022-07-15 01:35:35 +05:30
<style name="PlayerControlTop">
<item name="android:padding">9dp</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_gravity">center</item>
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
<item name="android:textColor">@android:color/white</item>
</style>
2022-07-29 15:10:36 +05:30
<style name="WatchProgress">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">4dp</item>
<item name="android:layout_gravity">bottom</item>
2022-12-05 23:55:14 +05:30
<item name="android:background">?attr/colorSecondary</item>
2022-07-29 15:10:36 +05:30
<item name="android:visibility">gone</item>
</style>
2022-07-30 17:17:45 +05:30
<style name="TimeString">
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
2022-08-09 18:07:40 +05:30
<item name="paddingStart">5dp</item>
<item name="paddingEnd">5dp</item>
2022-07-30 17:17:45 +05:30
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@android:color/white</item>
</style>
2022-07-15 01:35:35 +05:30
<style name="SwipeControlString">
<item name="android:gravity">center</item>
2022-11-26 22:43:28 +05:30
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_height">wrap_content</item>
2022-11-26 22:43:28 +05:30
<item name="android:layout_width">match_parent</item>
<item name="android:textSize">14sp</item>
2022-11-26 22:43:28 +05:30
<item name="android:lines">1</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:text">0</item>
</style>
2022-08-01 02:38:58 +05:30
<style name="Chip" parent="Widget.Material3.Chip.Suggestion">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
2022-08-12 15:20:03 +05:30
<item name="chipStrokeWidth">0dp</item>
<item name="chipCornerRadius">20dp</item>
2022-08-01 02:38:58 +05:30
</style>
2022-08-15 13:29:48 +05:30
<style name="ItemRow">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:paddingLeft">6dp</item>
<item name="android:paddingRight">6dp</item>
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:background">?attr/selectableItemBackground</item>
<item name="android:orientation">horizontal</item>
</style>
2022-09-09 00:55:43 +05:30
<!-- Uses Material Switches instead of the old ones -->
<style name="Preference.SwitchPreferenceCompat.Material3" parent="@style/Preference.SwitchPreferenceCompat.Material">
<item name="widgetLayout">@layout/view_preference_switch</item>
</style>
2022-09-25 13:37:09 +05:30
<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>
2022-11-05 23:38:02 +05:30
<style name="channelChip" parent="@style/Widget.Material3.Chip.Filter">
2022-10-29 15:36:25 +05:30
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:padding">10dp</item>
<item name="android:visibility">gone</item>
</style>
2022-11-06 17:05:23 +05:30
<style name="ElevatedIconButton" parent="@style/Widget.Material3.Button.IconButton">
2022-11-06 15:56:24 +05:30
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
2022-11-06 17:05:23 +05:30
<item name="android:paddingStart">10dp</item>
<item name="android:paddingEnd">10dp</item>
2022-11-06 15:56:24 +05:30
<item name="android:stateListAnimator">@null</item>
<item name="cardCornerRadius">25dp</item>
<item name="android:drawableTint" tools:targetApi="m">?android:attr/textColorPrimary</item>
</style>
2022-11-17 22:46:12 +05:30
<style name="HomeCategoryTitle">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textSize">20sp</item>
<item name="android:textColor">?attr/colorControlNormal</item>
<item name="android:padding">15dp</item>
2022-11-17 23:28:53 +05:30
<item name="android:background">?attr/selectableItemBackground</item>
<item name="android:visibility">gone</item>
2022-11-17 22:46:12 +05:30
</style>
2022-04-15 16:56:06 +05:30
</resources>