loading: improve new ui
Improve the loading UI somewhat, reverting the progress bar and applying some padding to the icon so that it looks a bit better on Android 12.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<dimen name="spacing_mid_large">24dp</dimen>
|
||||
<dimen name="spacing_large">32dp</dimen>
|
||||
<dimen name="spacing_mid_huge">48dp</dimen>
|
||||
<dimen name="spacing_huge">64dp</dimen>
|
||||
<dimen name="spacing_insane">128dp</dimen>
|
||||
|
||||
<!-- Height Namespace | Height for UI elements -->
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<resources>
|
||||
<!-- COMPONENT-SPECIFIC STYLES. NOT RE-USABLE. -->
|
||||
|
||||
<!-- Style for the play/pause circle button -->
|
||||
<style name="Widget.Component.Playback.PlayPause" parent="">
|
||||
<item name="android:layout_height">@dimen/size_play_pause</item>
|
||||
<item name="android:layout_width">@dimen/size_play_pause</item>
|
||||
@@ -18,7 +17,6 @@
|
||||
<item name="android:padding">@dimen/spacing_medium</item>
|
||||
</style>
|
||||
|
||||
<!-- Style for text used in widgets -->
|
||||
<style name="Widget.Component.AppWidget.TextView" parent="Widget.AppCompat.TextView">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
@@ -77,4 +75,8 @@
|
||||
<style name="Widget.Component.AppWidget.Panel" parent="Widget.Component.AppWidget.Panel.Base">
|
||||
<item name="android:elevation">@dimen/elevation_normal</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Component.Loading.ImageView.Icon" parent="">
|
||||
<item name="android:src">@drawable/ic_launcher_foreground</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user