drawable: update icon
Update the app icon to reflect the new accents. Also move around some things to make it easier to add dynamic colors later on. Don't make it follow dynamic colors right now however, as I want to make sure it lines up with the dynamic pixel icons before I make that change.
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- TODO: Apply dynamic colors to our icon once we can make it line up
|
||||
with the pixel ones. Currently it's too risky as all we have are the
|
||||
promo stuff. -->
|
||||
<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>
|
||||
@@ -1,26 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
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:strokeColor="#ffffff">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="64.75"
|
||||
android:endY="28.5"
|
||||
android:startX="60"
|
||||
android:startY="61.5"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#2196f3"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#90caf9"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
||||
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
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:strokeColor="#ffffff"
|
||||
android:fillColor="@color/fill_icon_fg">
|
||||
</path>
|
||||
</vector>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/overlay_selection">
|
||||
android:color="@color/mtrl_btn_ripple_color">
|
||||
<item>
|
||||
<shape android:shape="rectangle"
|
||||
android:tint="@color/sel_accented">
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tools:context=".settings.pref.AccentAdapter.ViewHolder">
|
||||
|
||||
<FrameLayout
|
||||
android:theme="@style/ThemeOverlay.Accent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/spacing_small">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 9.6 KiB |
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Base app colors -->
|
||||
<color name="surface">#fafafa</color>
|
||||
<color name="control">#202020</color>
|
||||
<color name="nav_bar">#01fafafa</color>
|
||||
|
||||
@@ -72,6 +72,10 @@
|
||||
<item name="android:focusable">true</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Accent" parent="">
|
||||
<item name="colorOnPrimary">?attr/colorSurface</item>
|
||||
</style>
|
||||
|
||||
<!-- TEXTVIEW STYLES -->
|
||||
|
||||
<style name="Widget.Auxio.TextView.Base" parent="Widget.AppCompat.TextView">
|
||||
|
||||