Prechádzať zdrojové kódy

Added launcher icon for debug builds

Vadik Sirekanyan 7 rokov pred
rodič
commit
ffc1aefae6

BIN
app/src/debug/ic_launcher-web.png


+ 5 - 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@color/ic_launcher_background"/>
+    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>

+ 5 - 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@color/ic_launcher_background"/>
+    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>

BIN
app/src/debug/res/mipmap-hdpi/ic_launcher.png


BIN
app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png


BIN
app/src/debug/res/mipmap-hdpi/ic_launcher_round.png


BIN
app/src/debug/res/mipmap-mdpi/ic_launcher.png


BIN
app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png


BIN
app/src/debug/res/mipmap-mdpi/ic_launcher_round.png


BIN
app/src/debug/res/mipmap-xhdpi/ic_launcher.png


BIN
app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png


BIN
app/src/debug/res/mipmap-xhdpi/ic_launcher_round.png


BIN
app/src/debug/res/mipmap-xxhdpi/ic_launcher.png


BIN
app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png


BIN
app/src/debug/res/mipmap-xxhdpi/ic_launcher_round.png


BIN
app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png


BIN
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png


BIN
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_round.png


+ 0 - 3
app/src/debug/res/values-ru/strings.xml

@@ -1,3 +0,0 @@
-<resources>
-    <string name="app_name">Книгопись Debug</string>
-</resources>

+ 4 - 0
app/src/debug/res/values/colors.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <color name="ic_launcher_background">#FF3D00</color>
+</resources>

+ 0 - 3
app/src/debug/res/values/strings.xml

@@ -1,3 +0,0 @@
-<resources>
-    <string name="app_name">Knigopis Debug</string>
-</resources>

+ 1 - 13
app/src/main/res/values/colors.xml

@@ -1,16 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <!-- default colors -->
-    <!--<color name="colorPrimary">#3F51B5</color>-->
-    <!--<color name="colorPrimaryDark">#303F9F</color>-->
-    <!--<color name="colorAccent">#FF4081</color>-->
-
-    <!-- green and yellow -->
-    <!--<color name="colorPrimary">#4CAF50</color>-->
-    <!--<color name="colorPrimaryDark">#388E3C</color>-->
-    <!--<color name="colorAccent">#FFC400</color>-->
-
-    <!-- purple and orange -->
     <color name="colorPrimary">#673AB7</color>
     <color name="colorPrimaryDark">#512DA8</color>
     <color name="colorPrimaryLight">#9575CD</color>
@@ -18,11 +7,10 @@
     <color name="colorPrimary100">#D1C4E9</color>
     <color name="colorPrimary50">#EDE7F6</color>
     <color name="colorAccent">#FF3D00</color>
-
     <color name="white">#FFFFFF</color>
     <color name="white_12">#E1E1E1</color>
     <color name="black_12">#1F1F1F</color>
     <color name="black_54">#757575</color>
     <color name="image_placeholder_color">@color/colorPrimary50</color>
-    <color name="ic_launcher_background">@color/colorPrimaryDark</color>
+    <color name="ic_launcher_background">#512DA8</color>
 </resources>