2015-09-28 09:06:33 +03:00
|
|
|
<?xml version='1.0' encoding='utf-8'?>
|
2013-11-03 16:12:22 +01:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2021-04-12 16:36:17 +00:00
|
|
|
<!--Button-->
|
|
|
|
<style name="ThemeOverlay.App.Button" parent="">
|
|
|
|
<item name="colorPrimary">@color/fdroid_green</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.App.Button.TextButton" parent="">
|
|
|
|
<item name="colorPrimary">@color/fdroid_green</item>
|
|
|
|
<item name="android:textColor">@color/fdroid_green</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--Dialog-->
|
|
|
|
<style name="MaterialAlertDialog.App.Title.Text" parent="MaterialAlertDialog.MaterialComponents.Title.Text">
|
|
|
|
<item name="android:textColor">@color/fdroid_green</item>
|
|
|
|
</style>
|
|
|
|
|
2021-06-02 10:21:14 +00:00
|
|
|
|
|
|
|
<style name="Widget.App.CardView" parent="Widget.MaterialComponents.CardView">
|
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.App.Card</item>
|
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="Widget.App.Button.Dialog" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.App.Button.TextButton</item>
|
|
|
|
<item name="colorPrimary">@color/fdroid_green</item>
|
|
|
|
<item name="android:textColor">@color/fdroid_green</item>
|
2021-06-02 10:21:14 +00:00
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.App.Button</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Widget.App.Button.TextButton" parent="Widget.MaterialComponents.Button.TextButton">
|
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.App.Button</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Widget.App.Button.OutlinedButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.App.Button</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Widget.App.Button" parent="Widget.MaterialComponents.Button">
|
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.App.Button</item>
|
2021-04-12 16:36:17 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="AlertDialogBaseThemeDark" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog" />
|
2013-11-03 16:12:22 +01:00
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="ThemeOverlay.App.MaterialAlertDialog.Dark" parent="AlertDialogBaseThemeDark">
|
2018-01-29 17:02:25 -02:00
|
|
|
<item name="android:windowBackground">@color/cardview_dark_background</item>
|
2015-07-23 09:19:20 +03:00
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="AlertDialogBaseThemeLight" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog" />
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.App.MaterialAlertDialog.Light" parent="AlertDialogBaseThemeLight">
|
|
|
|
<item name="colorSecondary">@color/fdroid_green</item>
|
2015-07-23 09:19:20 +03:00
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="AlertDialogBaseThemeNight" parent="AlertDialogBaseThemeDark" />
|
|
|
|
|
|
|
|
<style name="MinWithDialogBaseThemeDark" parent="Theme.MaterialComponents.Dialog.MinWidth">
|
|
|
|
<item name="colorSecondary">@color/fdroid_green</item>
|
2016-05-29 23:34:00 +03:00
|
|
|
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="MinWithDialogBaseThemeLight" parent="Theme.MaterialComponents.Light.Dialog.MinWidth">
|
|
|
|
<item name="colorSecondary">@color/fdroid_green</item>
|
2016-05-29 23:34:00 +03:00
|
|
|
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
</style>
|
|
|
|
|
2015-12-01 15:15:45 +03:00
|
|
|
<!-- use this style for a text view that is a caption to a paragraph of text -->
|
|
|
|
<style name="CaptionTextBase">
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
2015-09-28 09:06:33 +03:00
|
|
|
<item name="android:paddingTop">16dp</item>
|
|
|
|
<item name="android:paddingBottom">4dp</item>
|
2015-12-01 15:15:45 +03:00
|
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Caption</item>
|
2015-09-28 09:06:33 +03:00
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
2021-04-12 16:36:17 +00:00
|
|
|
|
|
|
|
<style name="CaptionText" parent="CaptionTextBase" />
|
2015-09-28 09:06:33 +03:00
|
|
|
|
2015-12-01 15:15:45 +03:00
|
|
|
<!-- use this style for a text views that is a paragraph of text -->
|
|
|
|
<style name="BodyTextBase">
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Body1</item>
|
|
|
|
</style>
|
2021-04-12 16:36:17 +00:00
|
|
|
|
|
|
|
<style name="BodyText" parent="BodyTextBase" />
|
2015-09-28 09:06:33 +03:00
|
|
|
|
2017-04-05 12:05:29 +10:00
|
|
|
<style name="AppListEmptyText">
|
|
|
|
<item name="android:id">@android:id/empty</item>
|
|
|
|
<item name="android:gravity">center</item>
|
2017-05-24 20:06:14 +02:00
|
|
|
<item name="android:padding">48dp</item>
|
2017-04-05 12:05:29 +10:00
|
|
|
<item name="android:textSize">20sp</item>
|
2017-06-03 09:58:53 +02:00
|
|
|
<item name="android:textColor">?attr/lightGrayTextColor</item>
|
2017-04-05 12:05:29 +10:00
|
|
|
</style>
|
|
|
|
|
2017-06-28 17:28:32 +10:00
|
|
|
<!-- Used for supplementary information to show below an app name in app lists, such as
|
|
|
|
whether it is incompatible, what version is installed, etc -->
|
|
|
|
<style name="AppListItemStatusTextBase">
|
|
|
|
<item name="android:textStyle">italic</item>
|
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
<item name="android:textColor">?attr/lightGrayTextColor</item>
|
|
|
|
<item name="android:maxLines">1</item>
|
|
|
|
<item name="android:ellipsize">end</item>
|
|
|
|
</style>
|
2021-04-12 16:36:17 +00:00
|
|
|
|
|
|
|
<style name="AppListItemStatusText" parent="AppListItemStatusTextBase" />
|
2017-06-28 17:28:32 +10:00
|
|
|
|
2015-10-05 14:32:10 +02:00
|
|
|
<style name="AppDetailsLinkBase">
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">@dimen/material_listitem_height</item>
|
|
|
|
<item name="android:drawablePadding">12dp</item>
|
|
|
|
<item name="android:gravity">center_vertical</item>
|
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="AppDetailsLink" parent="AppDetailsLinkBase" />
|
2015-10-05 14:32:10 +02:00
|
|
|
|
|
|
|
<style name="AppDetailsSubheaderTextBase">
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">@dimen/material_listitem_height</item>
|
|
|
|
<item name="android:textSize">16sp</item>
|
|
|
|
<item name="android:textColor">?android:textColorPrimary</item>
|
|
|
|
<item name="android:singleLine">true</item>
|
|
|
|
<item name="android:gravity">center_vertical</item>
|
|
|
|
<item name="android:drawablePadding">12dp</item>
|
|
|
|
</style>
|
|
|
|
|
2018-08-30 20:07:31 +00:00
|
|
|
<style name="AppVersionStatus">
|
|
|
|
<item name="android:layout_width">wrap_content</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
<item name="android:layout_marginTop">1dp</item>
|
|
|
|
<item name="android:layout_marginLeft">6dp</item>
|
|
|
|
<item name="android:paddingLeft">4dp</item>
|
|
|
|
<item name="android:paddingRight">4dp</item>
|
|
|
|
<item name="android:paddingBottom">1dp</item>
|
|
|
|
<item name="android:maxLines">1</item>
|
|
|
|
<item name="android:textSize">12sp</item>
|
|
|
|
</style>
|
|
|
|
|
2021-04-12 16:36:17 +00:00
|
|
|
<style name="AppDetailsSubheaderText" parent="AppDetailsSubheaderTextBase" />
|
2016-11-10 12:44:18 +01:00
|
|
|
|
2018-06-08 20:05:24 +02:00
|
|
|
|
|
|
|
<style name="DiscreteSeekBar" parent="Base.Widget.AppCompat.SeekBar.Discrete">
|
2019-10-29 01:51:54 +09:00
|
|
|
<!-- Disable default tickMarks. We draw our own in SeekBarForegroundThumb -->
|
|
|
|
<item name="tickMark">@null</item>
|
2018-06-08 20:05:24 +02:00
|
|
|
</style>
|
2015-09-28 09:06:33 +03:00
|
|
|
</resources>
|