Skip to content

Commit

Permalink
Updated icons to meed post-API26 specifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emzi0767 committed Feb 22, 2020
1 parent 5d80d01 commit 3da3e41
Show file tree
Hide file tree
Showing 20 changed files with 180 additions and 49 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
Binary file modified .idea/caches/gradle_models.ser
Binary file not shown.
4 changes: 0 additions & 4 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
applicationId "com.emzi0767.r6stratroulette"
minSdkVersion 21
targetSdkVersion 29
versionCode 11
versionName "2.0.0-alpha1"
versionCode 12
versionName "2.0.0-alpha2"
}
buildTypes {
release {
Expand Down
87 changes: 44 additions & 43 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
<?xml version="1.0" encoding="utf-8"?><!--
This file is a part of R6: Strat Roulette project.
Copyright 2018 Emzi0767
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emzi0767.r6stratroulette">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/R6">
<activity android:name=".MainActivity" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SettingsActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.emzi0767.r6stratroulette.MainActivity" />
</activity>
</application>

<?xml version="1.0" encoding="utf-8"?><!--
This file is a part of R6: Strat Roulette project.
Copyright 2018 Emzi0767
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emzi0767.r6stratroulette">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/R6">
<activity android:name=".MainActivity" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SettingsActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.emzi0767.r6stratroulette.MainActivity" />
</activity>
</application>

</manifest>
Binary file added app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 120 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="135.47"
android:viewportHeight="135.47">
<path
android:pathData="m64.518,105.91c-0.238,-0.035 -1.017,-0.146 -1.731,-0.247 -1.706,-0.241 -3.626,-0.748 -5.02,-1.325 -3.874,-1.605 -6.118,-4.122 -7.142,-8.011l-0.387,-1.471v-52.449l0.408,-1.618c1.443,-5.726 5.429,-8.897 12.661,-10.073 1.897,-0.309 6.523,-0.405 8.869,-0.184 8.009,0.753 12.575,3.964 14.179,9.971 0.327,1.224 0.379,1.984 0.45,6.535l0.081,5.15h-15.61l-0.047,-3.804c-0.054,-4.403 -0.038,-4.358 -1.737,-4.715 -1.555,-0.326 -3.317,0.152 -3.501,0.95 -0.098,0.426 -0.158,12.404 -0.062,12.499 0.033,0.033 0.269,-0.12 0.523,-0.339 1.174,-1.011 3.375,-1.389 7.922,-1.362 3.447,0.021 4.648,0.201 6.603,0.99 2.353,0.951 4.49,2.758 5.367,4.54l0.417,0.847 -0.003,16.618c-0.003,16.432 -0.008,16.631 -0.37,17.8 -0.626,2.018 -1.442,3.373 -2.937,4.876 -2.668,2.682 -6.571,4.312 -11.489,4.799 -1.531,0.152 -6.466,0.167 -7.443,0.024zM64.936,98.602c0.051,-0.082 0.448,-0.198 0.883,-0.257 1.591,-0.218 1.469,0.314 1.469,-6.399 0,-4.793 0.046,-5.993 0.242,-6.272 0.342,-0.488 1.617,-1.086 2.81,-1.317 0.559,-0.109 1.114,-0.273 1.233,-0.366 0.158,-0.123 0.216,-0.957 0.216,-3.086 0,-2.836 0.011,-2.924 0.389,-3.168 0.214,-0.138 1.935,-0.545 3.823,-0.905l3.434,-0.655 -0.06,-2.604c-0.068,-2.92 -0.246,-3.505 -1.22,-4.009 -0.771,-0.399 -1.974,-0.151 -5.232,1.076 -1.564,0.589 -2.982,1.01 -3.582,1.065 -0.933,0.085 -1.026,0.058 -1.523,-0.439 -0.291,-0.291 -0.529,-0.663 -0.529,-0.826 0,-0.268 -0.19,-0.289 -1.96,-0.211 -2.165,0.096 -2.941,0.344 -3.03,0.969 -0.031,0.219 -0.168,0.441 -0.303,0.493 -0.28,0.107 -0.336,1.02 -0.073,1.183 0.113,0.07 0.171,4.193 0.167,11.824 -0.005,9.832 -0.046,11.787 -0.254,12.15 -0.322,0.564 -0.322,0.865 0,0.865 0.143,0 0.26,0.117 0.26,0.26 0,0.143 0.109,0.26 0.241,0.26 0.133,0 0.286,0.117 0.341,0.26 0.073,0.191 0.374,0.26 1.133,0.26 0.569,0 1.075,-0.067 1.126,-0.149zM68.216,83.715c-0.658,-0.126 -0.755,-0.375 -0.755,-1.918v-1.505l0.703,-0.395c0.704,-0.395 1.196,-0.415 2.456,-0.095 0.654,0.166 0.61,-0.116 -0.15,-0.958 -0.461,-0.51 -0.55,-0.693 -0.338,-0.693 0.158,0 0.479,0.191 0.713,0.425 0.406,0.405 0.425,0.523 0.425,2.575 0,1.51 -0.064,2.204 -0.216,2.329 -0.219,0.181 -2.244,0.348 -2.836,0.235z"
android:strokeWidth=".1731"
android:fillColor="#fff"/>
<path
android:pathData="m69.696,92.809l0,12.612l10.62,2.655 10.719,-2.655 -0.098,-12.612"
android:strokeLineJoin="round"
android:strokeWidth="1.7842"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeLineCap="round"/>
<path
android:pathData="m69.696,92.809 l10.62,-2.655 10.62,2.655 -10.62,2.655z"
android:strokeLineJoin="round"
android:strokeWidth="1.7842"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeLineCap="round"/>
<path
android:fillColor="#FF000000"
android:pathData="m68736.234,98.536v14.858l12.512,3.128 12.628,-3.128 -0.116,-14.858"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:fillColor="#FF000000"
android:pathData="m68736.234,98.536 l12.512,-3.128 12.512,3.128 -12.512,3.128z"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="m68748.742,101.666v14.858"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:fillColor="#00000000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="M68739.328,103.586m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68742.508,104.386m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68745.68,105.176m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68739.328,109.676m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68742.508,110.466m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68745.68,111.256m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68753.156,110.226m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68757.234,104.486m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:pathData="M68748.727,98.426m-1.323,0a1.323,1.323 0,1 1,2.646 0a1.323,1.323 0,1 1,-2.646 0"
android:fillColor="#fff"/>
<path
android:fillColor="#FF000000"
android:pathData="m70.55,93.31l0,11.603l9.771,2.443 9.862,-2.443 -0.091,-11.603"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:fillColor="#FF000000"
android:pathData="m70.55,93.31 l9.771,-2.443 9.771,2.443 -9.771,2.443z"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="m80.321,95.754l0,11.603"
android:strokeLineJoin="round"
android:strokeWidth="1.564"
android:fillColor="#00000000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="M72.97,97.254m-1.033,0a1.033,1.033 45,1 1,2.066 0a1.033,1.033 135,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M75.449,97.878m-1.033,0a1.033,1.033 45,1 1,2.066 0a1.033,1.033 135,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M77.929,98.495m-1.033,0a1.033,1.033 135,1 1,2.066 0a1.033,1.033 45,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M72.97,102.01m-1.033,0a1.033,1.033 135,1 1,2.066 0a1.033,1.033 45,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M75.449,102.627m-1.033,0a1.033,1.033 135,1 1,2.066 0a1.033,1.033 45,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M77.929,103.244m-1.033,0a1.033,1.033 135,1 1,2.066 0a1.033,1.033 45,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M83.766,102.439m-1.033,0a1.033,1.033 135,1 1,2.066 0a1.033,1.033 45,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M86.954,97.957m-1.033,0a1.033,1.033 45,1 1,2.066 0a1.033,1.033 135,1 1,-2.066 0"
android:fillColor="#fff"/>
<path
android:pathData="M80.305,93.224m-1.033,0a1.033,1.033 45,1 1,2.066 0a1.033,1.033 135,1 1,-2.066 0"
android:fillColor="#fff"/>
</vector>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#000000</color>
</resources>

0 comments on commit 3da3e41

Please sign in to comment.