Replaced logo png with a svg.

This commit is contained in:
Dennis Guse
2019-07-22 22:21:14 +02:00
parent 6eecef0048
commit 9c00d1afd1
9 changed files with 62 additions and 3 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
bin/
gen/
out/
release/
# Gradle files
.gradle/
@@ -76,4 +77,4 @@ captures/
#*.jks
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.externalNativeBuild
+45
View File
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="Ebene_1"
x="0px"
y="0px"
width="100"
height="100"
viewBox="0 0 100 100"
enable-background="new 0 0 95.334 100"
xml:space="preserve"><metadata
id="metadata16"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs14" />
<g
transform="translate(-1.0593197,1.9067775)"
id="g9">
<linearGradient
id="SVGID_1_"
gradientUnits="userSpaceOnUse"
x1="28.7554"
y1="81.535202"
x2="82.789497"
y2="9.2979002">
<stop
offset="0"
style="stop-color:#FBB22F"
id="stop2" />
<stop
offset="1"
style="stop-color:#F58820"
id="stop4" />
</linearGradient>
<path
style="fill:url(#SVGID_1_)"
d="M 83.548,10.927 C 84.255,8.511 83.102,7.649 80.985,9.01 L 11.146,53.921 c -2.117,1.361 -1.795,2.628 0.714,2.815 L 40.865,58.9 c 2.51,0.188 5.291,2.267 6.18,4.621 l 10.282,27.208 c 0.89,2.354 2.195,2.304 2.902,-0.111 z"
id="path7" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+1 -1
View File
@@ -79,7 +79,7 @@ limitations under the License.
<application
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:icon="@drawable/ic_logo"
android:label="@string/app_name"
android:theme="@style/ThemeCustom"
tools:replace="android:label" >
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

+13
View File
@@ -0,0 +1,13 @@
<vector android:height="24dp" android:viewportHeight="100"
android:viewportWidth="100" android:width="24dp"
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:pathData="M82.489,12.834C83.196,10.418 82.043,9.556 79.926,10.917L10.087,55.828c-2.117,1.361 -1.795,2.628 0.714,2.815L39.806,60.807c2.51,0.188 5.291,2.267 6.18,4.621l10.282,27.208c0.89,2.354 2.195,2.304 2.902,-0.111z">
<aapt:attr name="android:fillColor">
<gradient android:endX="81.73018" android:endY="11.204678"
android:startX="27.696081" android:startY="83.44198" android:type="linear">
<item android:color="#FFFBB22F" android:offset="0"/>
<item android:color="#FFF58820" android:offset="1"/>
</gradient>
</aapt:attr>
</path>
</vector>
+1 -1
View File
@@ -357,7 +357,7 @@ limitations under the License.
<item name="android:layout_width">24dp</item>
<item name="android:padding">4dp</item>
<item name="android:scaleType">fitXY</item>
<item name="android:src">@drawable/ic_launcher</item>
<item name="android:src">@drawable/ic_logo</item>
</style>
<!-- track widget logo 4x4 -->
<style name="TrackWidgetLogo4x4" parent="@style/TrackWidgetLogo">