From e4e0d0c1b00720e31ce8e0a5ac97831e2aafdcfc Mon Sep 17 00:00:00 2001 From: Matt Low Date: Wed, 15 Jan 2020 23:19:19 +0400 Subject: [PATCH] Support dynamic icon --- .../ic_launcher_foreground.xml | 43 +++------ android/res/values/color.xml | 2 +- android/res/values/strings.xml | 2 +- icon_foreground.svg | 87 +++++++++++++++++++ 4 files changed, 101 insertions(+), 33 deletions(-) create mode 100644 icon_foreground.svg diff --git a/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml b/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml index 5916ee8..96f64d9 100644 --- a/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml +++ b/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml @@ -4,37 +4,18 @@ android:viewportWidth="108" android:viewportHeight="108"> - - - - - + android:pathData="M51,35.75L60,35.75A1.5,3 0,0 1,61.5 38.75L61.5,39.75A1.5,3 0,0 1,60 42.75L51,42.75A1.5,3 0,0 1,49.5 39.75L49.5,38.75A1.5,3 0,0 1,51 35.75z" + android:strokeAlpha="1" + android:strokeWidth="0" + android:fillColor="#1a1a1a" + android:strokeColor="#1a1a1a" + android:fillAlpha="1" + android:strokeLineCap="butt"/> diff --git a/android/res/values/color.xml b/android/res/values/color.xml index 933353e..c3307f7 100644 --- a/android/res/values/color.xml +++ b/android/res/values/color.xml @@ -1,4 +1,4 @@ - #FFFFFFFF + #000000FF diff --git a/android/res/values/strings.xml b/android/res/values/strings.xml index e1b8dd7..4607d3a 100644 --- a/android/res/values/strings.xml +++ b/android/res/values/strings.xml @@ -1,6 +1,6 @@ - pac-dude + Pac-Dude diff --git a/icon_foreground.svg b/icon_foreground.svg new file mode 100644 index 0000000..ebcc363 --- /dev/null +++ b/icon_foreground.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + +