drawable: revamp icon

Revamp Auxio's icon entirely. Now it's generally more vibrant [won't
blend into the BG] and will actually has some style to it with an
angular song note instead of the default icon one.
This commit is contained in:
OxygenCobalt 2021-11-01 06:48:16 -06:00
parent efb800ee6a
commit 1beefa30a8
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
17 changed files with 17 additions and 30 deletions

View file

@ -159,9 +159,6 @@ fun createSmallWidget(context: Context, state: WidgetState): RemoteViews {
fun createMediumWidget(context: Context, state: WidgetState): RemoteViews {
return createViews(context, R.layout.widget_medium)
.applyMeta(state)
.applyCover(context, state)
.applyControls(context, state)
}
fun createLargeWidget(context: Context, state: WidgetState): RemoteViews {

View file

@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#111111" />
</selector>
<gradient android:endX="108"
android:endY="108"
android:startX="0"
android:startY="0"
android:type="linear"
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:color="#1565C0"
android:offset="0.0" />
<item
android:color="#42A5F5"
android:offset="1.0" />
</gradient>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<gradient android:endX="64.75"
android:endY="28.5"
android:startX="60"
android:startY="61.5"
android:type="linear"
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:color="#1E88E5"
android:offset="0.0" />
<item
android:color="#90CAF9"
android:offset="1.0" />
</gradient>

View file

@ -5,8 +5,8 @@
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M54 29.83v28.333c-1.585-0.913-3.41-1.477-5.371-1.477-5.935 0-10.743 4.807-10.743 10.743 0 5.935 4.807 10.742 10.743 10.742 5.935 0 10.743-4.807 10.743-10.742V40.573h10.742V29.831z"
android:pathData="m 53.999804,29.830211 v 26.856243 h -1.243335 -3.96875 -4.286044 l -6.614583,6.614583 v 4.087087 c -5e-5,0.01368 -0.0011,0.02713 -0.0011,0.04083 0,0.01368 0.0011,0.02714 0.0011,0.04083 v 4.086055 l 6.614583,6.614584 h 8.254794 l 6.614583,-6.614584 v -4.086055 c 5e-5,-0.01368 0.0011,-0.02713 0.0011,-0.04083 V 40.573226 h 10.74198 v -10.74198 z"
android:strokeColor="#00000000"
android:fillColor="@color/fill_icon_fg">
android:fillColor="#ffffff">
</path>
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

View file

@ -2,9 +2,6 @@
<resources>
<!-- Android 12 configuration -->
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
<!-- Make our splash drawable only the foreground -->
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<!--
Theme.Material3.DayNight doesn't actually apply dynamic colors by default. No.
You have to apply a T H E M E O V E R L A Y for them to work. Except the ThemeOverlay

View file

@ -2,9 +2,6 @@
<resources>
<!-- Android 12 configuration -->
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
<!-- Make our splash drawable only the foreground -->
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<!--
Theme.Material3.DayNight doesn't actually apply dynamic colors by default. No.
You have to apply a T H E M E O V E R L A Y for them to work. Except the ThemeOverlay

View file

@ -2,9 +2,9 @@
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/widget_medium"
android:minWidth="@dimen/widget_width_min"
android:minHeight="@dimen/widget_height_min"
android:minHeight="@dimen/widget_height_def"
android:minResizeWidth="@dimen/widget_width_def"
android:minResizeHeight="@dimen/widget_height_def"
android:minResizeHeight="@dimen/widget_width_min"
android:previewImage="@drawable/ui_widget_preview"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="0"