Bug 1380698 - Use SVG for splash screen logo for all channels. r?maliu draft
authorNevin Chen <cnevinchen@gmail.com>
Wed, 19 Jul 2017 19:12:50 +0800
changeset 611986 729f2b98bc2bceeb10a37672b67ba6fb7739eeaa
parent 611714 eb1d92b2b6a4161492561250f51bae5bafeda68a
child 638278 a3b312402846cee8dc2012e7566a20fef28bebfd
push id69350
push userbmo:cnevinchen@gmail.com
push dateThu, 20 Jul 2017 06:51:46 +0000
reviewersmaliu
bugs1380698
milestone56.0a1
Bug 1380698 - Use SVG for splash screen logo for all channels. r?maliu MozReview-Commit-ID: 8e7LPmaEaP5
mobile/android/app/src/main/res/drawable/firefox_logo_svg.xml
mobile/android/app/src/main/res/layout/splash_screen.xml
mobile/android/branding/beta/res/drawable/firefox_logo.png
mobile/android/branding/nightly-old-id/res/drawable/firefox_logo.png
mobile/android/branding/nightly/res/drawable/firefox_logo.png
mobile/android/branding/official/res/drawable/firefox_logo.png
mobile/android/branding/unofficial/res/drawable/firefox_logo.png
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable/firefox_logo_svg.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="200dp"
+    android:height="200dp"
+    android:viewportWidth="200"
+    android:viewportHeight="200">
+
+    <path
+        android:fillColor="#D7D7DB"
+        android:pathData="M172.2,124.6c4.2-8.4,10.6-27.2,5.1-42.6c0,0.1,0.1,0.3,0.1,0.4c-0.1-0.2-0.1-0.3-0.1-0.3s-1,3.1-2.5,7.8
+c-0.1-0.6-0.2-1.3-0.3-1.9c0.4-5.8,0.2-12-0.9-17.9c-1.8-9.3-9.1-17.5-12.9-20.1c0.2,0.1,0.4,0.3,0.6,0.5c-0.4-0.3-0.7-0.5-0.7-0.5
+s0.2,0.9,0.4,2.4c-4.1-6.5-10.4-9.6-10.4-9.6s0.2,1.1,0.5,3.4c-12.9-11.5-29.9-18.5-48.6-18.5c-19,0-36.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.8c1.2,1,2.5,1.9,3.7,2.8c8.1,5.9,20.8,13.2,31.6,14.8c-3.8-1.1-6.1-3.3-6.1-3.3
+s12.8,4.1,22.2,3.8c-2.9-0.5-3.5-1.9-3.5-1.9s26.6,1.5,40.5-9.4c3.1-2.3,5.1-5,5.7-7.5c4.1-2.2,8.5-5.1,13-9.6
+c7.5-7.4,8.3-13,9.2-18.3c0,0.2-0.1,0.3-0.1,0.5C173.3,127.8,173,125.9,172.2,124.6z" />
+</vector>
\ No newline at end of file
--- a/mobile/android/app/src/main/res/layout/splash_screen.xml
+++ b/mobile/android/app/src/main/res/layout/splash_screen.xml
@@ -5,11 +5,11 @@
                                        android:layout_width="match_parent"
                                        android:layout_height="match_parent"
                                        android:orientation="vertical">
 
     <ImageView
         android:layout_width="116dp"
         android:layout_height="121dp"
         android:layout_centerInParent="true"
-        android:src="@drawable/firefox_logo"/>
+        app:srcCompat="@drawable/firefox_logo_svg"/>
 
 </org.mozilla.gecko.widget.SplashScreen>
\ No newline at end of file
deleted file mode 100644
index 2d7b9e6368f4d96572af5e0bed97e0dc291b7e63..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 721ef8c054d4dab268d2c4032f32cc0ec21e2b85..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 721ef8c054d4dab268d2c4032f32cc0ec21e2b85..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 03974b3318188251833989708fc0801ed1957cb6..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 0bf70c453839b367708ec8541dfa2e1dad012c46..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001