widgets: remove compact/mini widgets

Remove the compact and mini widgets, as there seems to be no real way
for both controls and metadata to be packed into them.
This commit is contained in:
OxygenCobalt
2021-08-17 19:48:00 -06:00
parent 73ec99a214
commit 1f9d23863f
14 changed files with 16 additions and 133 deletions
+3 -4
View File
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
TODO: Rejig these dimens to line up with the 8dp grid. Dimens like the stroke should
be increased.-->
<!-- TODO: Rejig these dimens to line up with the 8dp grid. -->
<!-- Spacing Namespace | Dimens for padding/margin attributes -->
<dimen name="spacing_micro">2dp</dimen>
@@ -38,7 +36,8 @@
<dimen name="size_clear">32dp</dimen>
<dimen name="size_app_icon">48dp</dimen>
<dimen name="size_stroke">2dp</dimen>
<dimen name="size_stroke_small">1dp</dimen>
<dimen name="size_stroke_large">2dp</dimen>
<!-- Text Size Namespace | Text Sizes -->
<dimen name="text_size_small">16sp</dimen>
@@ -52,7 +52,6 @@
<item name="android:layout_width">0dp</item>
<item name="android:layout_weight">1</item>
<item name="android:scaleType">fitCenter</item>
<item name="android:padding">@dimen/spacing_micro</item>
</style>
<style name="Widget.Component.AppWidget.Button" parent="Widget.Component.AppWidget.Button.Base">
+2 -2
View File
@@ -27,7 +27,7 @@
<style name="Widget.ProgressBar.Compact" parent="@style/Widget.AppCompat.ProgressBar.Horizontal">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@dimen/size_stroke</item>
<item name="android:layout_height">@dimen/size_stroke_large</item>
<item name="android:progressBackgroundTint">?attr/colorControlNormal</item>
<item name="android:progressTint">?attr/colorAccent</item>
</style>
@@ -216,6 +216,6 @@
<style name="Widget.Button.Vibrant.Secondary" parent="@style/Widget.Button.Vibrant.Base">
<item name="strokeColor">@color/divider</item>
<item name="strokeWidth">@dimen/size_stroke</item>
<item name="strokeWidth">@dimen/size_stroke_small</item>
</style>
</resources>