Merge remote-tracking branch 'origin/adaptive_icon'
|
@ -3,7 +3,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon_free"
|
android:icon="@mipmap/icon_free"
|
||||||
android:label="@string/app_name_free"
|
android:label="@string/app_name_free"
|
||||||
tools:replace="android:icon, android:label">
|
tools:replace="android:icon, android:label">
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon_free"
|
android:icon="@mipmap/icon_free"
|
||||||
tools:replace="android:icon">
|
tools:replace="android:icon">
|
||||||
<service
|
<service
|
||||||
android:name="net.osmand.plus.NavigationService"
|
android:name="net.osmand.plus.NavigationService"
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
<!-- android:theme="@style/OsmandLightDarkActionBarTheme" -->
|
<!-- android:theme="@style/OsmandLightDarkActionBarTheme" -->
|
||||||
<application android:allowBackup="true" android:backupAgent="net.osmand.plus.OsmandBackupAgent"
|
<application android:allowBackup="true" android:backupAgent="net.osmand.plus.OsmandBackupAgent"
|
||||||
android:icon="@drawable/icon" android:label="@string/app_name"
|
android:icon="@mipmap/icon" android:label="@string/app_name"
|
||||||
android:name="net.osmand.plus.OsmandApplication" android:configChanges="locale"
|
android:name="net.osmand.plus.OsmandApplication" android:configChanges="locale"
|
||||||
android:theme="@style/OsmandDarkTheme" android:restoreAnyVersion="true" android:largeHeap="true">
|
android:theme="@style/OsmandDarkTheme" android:restoreAnyVersion="true" android:largeHeap="true">
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@
|
||||||
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:resource="@dimen/app_defaultsize_h" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:resource="@dimen/app_defaultsize_h" android:value="" />
|
||||||
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:resource="@dimen/app_minimumsize_w" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:resource="@dimen/app_minimumsize_w" android:value="" />
|
||||||
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:resource="@dimen/app_minimumsize_h" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:resource="@dimen/app_minimumsize_h" android:value="" />
|
||||||
<meta-data android:name="com.sec.minimode.icon.portrait.normal" android:resource="@drawable/icon" android:value="" />
|
<meta-data android:name="com.sec.minimode.icon.portrait.normal" android:resource="@mipmap/icon" android:value="" />
|
||||||
<meta-data android:name="com.sec.minimode.icon.landscape.normal" android:resource="@drawable/icon" android:value="" />
|
<meta-data android:name="com.sec.minimode.icon.landscape.normal" android:resource="@mipmap/icon" android:value="" />
|
||||||
<activity android:name="net.osmand.plus.activities.HelpActivity" />
|
<activity android:name="net.osmand.plus.activities.HelpActivity" />
|
||||||
<activity android:name="net.osmand.plus.activities.ExitActivity" />
|
<activity android:name="net.osmand.plus.activities.ExitActivity" />
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@ apply plugin: 'com.android.application'
|
||||||
// Less important
|
// Less important
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion "26.0.0"
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
development {
|
development {
|
||||||
|
@ -38,7 +38,7 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion System.getenv("MIN_SDK_VERSION") ? System.getenv("MIN_SDK_VERSION").toInteger() : 14
|
minSdkVersion System.getenv("MIN_SDK_VERSION") ? System.getenv("MIN_SDK_VERSION").toInteger() : 14
|
||||||
targetSdkVersion 23
|
targetSdkVersion 26
|
||||||
versionCode 270
|
versionCode 270
|
||||||
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
|
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
Before Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 40 KiB |
4
OsmAnd/res/mipmap-anydpi-v26/icon.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/adaptive_icon_osmand_background" />
|
||||||
|
<foreground android:drawable="@mipmap/adaptive_icon_osmand_logo" />
|
||||||
|
</adaptive-icon>
|
BIN
OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
BIN
OsmAnd/res/mipmap-ldpi/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
OsmAnd/res/mipmap-mdpi/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
OsmAnd/res/mipmap-mdpi/icon_free.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/icon_free.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/icon_free.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/icon_free.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
|
@ -111,7 +111,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat
|
||||||
NotificationCompat.Builder notificationBuilder =
|
NotificationCompat.Builder notificationBuilder =
|
||||||
new NotificationCompat.Builder(ctx)
|
new NotificationCompat.Builder(ctx)
|
||||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
.setSmallIcon(R.drawable.icon)
|
.setSmallIcon(R.mipmap.icon)
|
||||||
.setContentTitle(ctx.getString(R.string.app_name))
|
.setContentTitle(ctx.getString(R.string.app_name))
|
||||||
.setContentText(message)
|
.setContentText(message)
|
||||||
.setGroup(WEAR_ALERT);
|
.setGroup(WEAR_ALERT);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion "26.0.0"
|
||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
jumboMode true
|
jumboMode true
|
||||||
|
@ -10,7 +10,7 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 23
|
targetSdkVersion 26
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ buildscript {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.1.3'
|
classpath 'com.android.tools.build:gradle:2.3.3'
|
||||||
classpath 'com.google.gms:google-services:3.0.0'
|
classpath 'com.google.gms:google-services:3.0.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|