Android: Add launcher icon

This commit is contained in:
kichikuou
2020-01-05 22:31:35 +09:00
parent d3248eb53a
commit 127c21e032
8 changed files with 35 additions and 5 deletions
+2 -4
View File
@@ -1,4 +1,4 @@
# xsytem35 for Android
# xsystem35 for Android
## Build
Prerequisites:
@@ -39,10 +39,8 @@ cd xsystem35-sdl2/android
3. The game starts. Two-finger touch is treated as a right click.
4. Game data persists in the app's internal storage. Use the device's Settings app if you want to clear it (eg. before installing another game).
Note that this Android port is still in early development; see below.
Note that this Android port is still incomplete; see below.
## TODO
- Save / Load support
- Better launcher
- MP3 / MIDI BGM support (currently only ogg is supported)
- App icon
+1 -1
View File
@@ -43,7 +43,7 @@
An example Java class can be found in README-android.md
-->
<application android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_launcher"
android:allowBackup="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:hardwareAccelerated="true" >
@@ -0,0 +1,32 @@
<vector android:height="98dp" android:viewportHeight="294"
android:viewportWidth="294" android:width="98dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#39c64c"
android:pathData="M56,111a91,84 0,1 0,182 0a91,84 0,1 0,-182 0z"
android:strokeColor="#FFF" android:strokeWidth="14.4"/>
<path android:fillColor="#39c64c"
android:pathData="M78,90L216,90A22,22 0,0 1,238 112L238,250A22,22 0,0 1,216 272L78,272A22,22 0,0 1,56 250L56,112A22,22 0,0 1,78 90z"
android:strokeColor="#FFF" android:strokeWidth="14.4"/>
<path android:fillColor="#39c64c"
android:pathData="M87.377,4.721L87.377,4.721A6.5,6.5 106.754,0 0,84.843 13.558L120.234,77.405A6.5,6.5 114.852,0 0,129.07 79.939L129.07,79.939A6.5,6.5 114.852,0 0,131.604 71.102L96.213,7.255A6.5,6.5 106.754,0 0,87.377 4.721z"
android:strokeColor="#FFF" android:strokeWidth="7.2"/>
<path android:fillColor="#39c64c"
android:pathData="M266,111L266,111A24,24 0,0 0,242 135L242,167A24,24 0,0 0,266 191L266,191A24,24 0,0 0,290 167L290,135A24,24 0,0 0,266 111z"
android:strokeColor="#FFF" android:strokeWidth="7.2"/>
<path android:fillColor="#39c64c"
android:pathData="M206.623,4.721L206.623,4.721A6.5,6.5 118.209,0 1,209.157 13.558L173.766,77.405A6.5,6.5 87.387,0 1,164.93 79.939L164.93,79.939A6.5,6.5 87.387,0 1,162.396 71.102L197.787,7.255A6.5,6.5 118.209,0 1,206.623 4.721z"
android:strokeColor="#FFF" android:strokeWidth="7.2"/>
<path android:fillColor="#39c64c"
android:pathData="M28,111L28,111A24,24 0,0 1,52 135L52,167A24,24 0,0 1,28 191L28,191A24,24 0,0 1,4 167L4,135A24,24 0,0 1,28 111z"
android:strokeColor="#FFF" android:strokeWidth="7.2"/>
<path android:fillColor="#39c64c" android:pathData="M56,111a91,84 0,1 0,182 0a91,84 0,1 0,-182 0z"/>
<path android:fillColor="#39c64c" android:pathData="M78,90L216,90A22,22 0,0 1,238 112L238,250A22,22 0,0 1,216 272L78,272A22,22 0,0 1,56 250L56,112A22,22 0,0 1,78 90z"/>
<path android:fillColor="#000"
android:pathData="M127,140a20,25 0,1 0,40 0a20,25 0,1 0,-40 0z"
android:strokeColor="#000" android:strokeWidth="7.2"/>
<path android:fillColor="#000"
android:pathData="M163.493,89.441a25,20 61,1 0,34.985 -19.392a25,20 61,1 0,-34.985 19.392z"
android:strokeColor="#000" android:strokeWidth="7.2"/>
<path android:fillColor="#000"
android:pathData="M130.507,89.441a25,20 119,1 1,-34.985 -19.392a25,20 119,1 1,34.985 19.392z"
android:strokeColor="#000" android:strokeWidth="7.2"/>
</vector>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB