diff --git a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java index 963e24db23..aa982640fe 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java @@ -77,20 +77,26 @@ public class MapPoiTypes { return otherCategory; } - public Map getAllTranslatedNames() { + public Map getAllTranslatedNames(boolean onlyTranslation) { Map translation = new TreeMap(); for(PoiCategory pc : categories) { for(PoiType pt : pc.getPoiTypes()) { translation.put(pt.getTranslation(), pt); + if (!onlyTranslation) { + translation.put(Algorithms.capitalizeFirstLetterAndLowercase(pt.getKeyName().replace('_', ' ')), pt); + } } } return translation; } - public Map getAllTranslatedNames(PoiCategory pc) { + public Map getAllTranslatedNames(PoiCategory pc, boolean onlyTranslation) { Map translation = new TreeMap(); for (PoiType pt : pc.getPoiTypes()) { translation.put(pt.getTranslation(), pt); + if (!onlyTranslation) { + translation.put(pt.getKeyName(), pt); + } } return translation; } diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 7175168a22..89803badfc 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -310,6 +310,7 @@ dependencies { "OsmAndCore_android.jar", "OsmAndCore_wrapper.jar"]) compile "com.android.support:appcompat-v7:21.0.3" + compile "com.github.shell-software:fab:1.0.5" legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar" qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar" qtcoredebugCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" diff --git a/OsmAnd/build.gradle~ b/OsmAnd/build.gradle~ new file mode 100644 index 0000000000..7175168a22 --- /dev/null +++ b/OsmAnd/build.gradle~ @@ -0,0 +1,318 @@ +apply plugin: 'com.android.application' + +// Global Paramers accepted +// APK_NUMBER_VERSION - version number of apk +// APK_VERSION - build number like #9999Z, for dev builds appended to app_version like 2.0.0 in no_translate.xml) +// flavor Z : M=-master, D=-design, B=-Blackberry, MD=-main-default, MQA=-main-qt-arm, MQDA=-main-qt-default-arm, S=-sherpafy +// TARGET_APP_NAME - app name +// APP_EDITION - date stamp of builds +// APP_FEATURES - features +play_market +gps_status -parking_plugin -blackberry -free_version -amazon + +// TODO +// 1. Filter fonts +// +// +// +// +// +// +// Less important +// 2. fix_apostrophe_issues (replace match="[^=]([^\\])'" replace="\1\\\\'") res/**/strings.xml +// 3. sherpafy/free/paid +// 4. Release signature +// 5. TARGET_APP_NAME, APP_EDITION uses flavor + +android { + compileSdkVersion 21 + buildToolsVersion "21.1.2" + + signingConfigs { + development { + storeFile file("../keystores/debug.keystore") + storePassword "android" + keyAlias "androiddebugkey" + keyPassword "android" + } + + publishing { + storeFile file("osmand_key") + storePassword System.getenv("OSMAND_APK_PASSWORD") + keyAlias "androiddebugkey" + keyPassword System.getenv("OSMAND_APK_PASSWORD") + } + } + + defaultConfig { + minSdkVersion 9 + targetSdkVersion 21 + + versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode + //versionName already assigned in code + //versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName + } + + lintOptions { + lintConfig file("lint.xml") + abortOnError false + warningsAsErrors false + } + + // This is from OsmAndCore_android.aar - for some reason it's not inherited + aaptOptions { + // Don't compress any embedded resources + noCompress "qz" + } + + dexOptions { + jumboMode = true + } + + sourceSets { + main { + manifest.srcFile "AndroidManifest.xml" + jni.srcDirs = [] + jniLibs.srcDirs = ["libs"] + aidl.srcDirs = ["src"] + java.srcDirs = ["src"] + resources.srcDirs = ["src"] + renderscript.srcDirs = ["src"] + res.srcDirs = ["res"] + assets.srcDirs = ["assets"] + } + free { + manifest.srcFile "AndroidManifest-free.xml" + } + + legacy { + jniLibs.srcDirs = ["libgnustl"] + } + } + + flavorDimensions "version", "coreversion", "abi" + productFlavors { + // ABI + armv7 { + flavorDimension "abi" + ndk { + abiFilter "armeabi-v7a" + } + } + armv5 { + flavorDimension "abi" + ndk { + abiFilter "armeabi" + } + } + x86 { + flavorDimension "abi" + ndk { + abiFilter "x86" + } + } + mips { + flavorDimension "abi" + ndk { + abiFilter "mips" + } + } + fat { + flavorDimension "abi" + } + + // Version + free { + flavorDimension "version" + applicationId "net.osmand" + } + full { + flavorDimension "version" + applicationId "net.osmand.plus" + } + + // CoreVersion + legacy { + flavorDimension "coreversion" + } + + qtcore { + flavorDimension "coreversion" + } + + qtcoredebug { + flavorDimension "coreversion" + } + } + + buildTypes { + debug { + signingConfig signingConfigs.development + } + release { + signingConfig signingConfigs.publishing + } + } +} + +def replaceNoTranslate(line) { + if (line.contains("\"app_name\"") && System.getenv("TARGET_APP_NAME")) { + return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_NAME") + "<") + } + if (line.contains("\"app_edition\"") && System.getenv("APP_EDITION")) { + return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_EDITION") + "<") + } + if (line.contains("\"app_version\"") && System.getenv("APK_VERSION")) { + // appends build number to version number for dev builds + return line.replaceAll("[^<]*<", ">" + System.getenv("APP_FEATURES") + "<") + } + return line; +} + +task updateNoTranslate(type: Copy) { + inputs.property 'appName', System.getenv().get("APP_NAME") + inputs.property 'appEdition', System.getenv().get("APP_EDITION") + inputs.property 'appFeatures', System.getenv().get("APP_FEATURES") + inputs.property 'apkVersion', System.getenv().get("APK_VERSION") + from('.') { + include 'no_translate.xml' + filter { + line -> replaceNoTranslate(line); + } + } + into 'res/values/' +} + +task collectVoiceAssets(type: Sync) { + from "../../resources/voice" + into "assets/voice" + include "**/*.p" +} + +task collectSpecialPhrasesAssets(type: Sync) { + from "../../resources/specialphrases" + into "assets/specialphrases" + include "*.txt" +} + +task collectHelpContentsAssets(type: Sync) { + from "../../help" + into "assets/help" + include "*.html" + include "images/**/*.png" + + from "assets/" + into "assets/help" + include "style.css" +} + +task collectRoutingResources(type: Sync) { + from "../../resources/routing" + into "src/net/osmand/router" + include "*.xml" +} + +task collectMiscResources(type: Copy) { + into "src/net/osmand/osm" + from("../../resources/obf_creation") { + include "rendering_types.xml" + } + from("../../resources/poi") { + include "poi_types.xml" + } +} + +task collectRenderingStylesResources(type: Sync) { + from "../../resources/rendering_styles" + into "src/net/osmand/render" + include "*.xml" +} + +task collectRegionsInfoResources(type: Copy) { + from "../../resources/countries-info" + into "src/net/osmand/map" + include "regions.ocbf" +} + +task copyStyleIcons(type: Copy) { + from "../../resources/rendering_styles/style-icons/" + into "res/" + include "**/*.png" +} + +task collectExternalResources << {} +collectExternalResources.dependsOn collectVoiceAssets, + collectSpecialPhrasesAssets, + collectHelpContentsAssets, + collectRoutingResources, + collectRenderingStylesResources, + collectRegionsInfoResources, + collectMiscResources, + copyStyleIcons, + updateNoTranslate +tasks.whenTaskAdded { task -> + if (task.name.startsWith("generate") && task.name.endsWith("Resources")) { + task.dependsOn collectExternalResources + } +} + +// Legacy core build +import org.apache.tools.ant.taskdefs.condition.Os + +task buildOsmAndCore(type: Exec) { + description "Build Legacy OsmAndCore" + + if (!Os.isFamily(Os.FAMILY_WINDOWS)) { + commandLine "bash", file("./old-ndk-build.sh").getAbsolutePath() + } else { + commandLine "cmd", "/c", "echo", "Not supported" + } +} + +task cleanupDuplicatesInCore() { + dependsOn buildOsmAndCore + // doesn't work for legacy debug builds + doLast { + file("libgnustl/armeabi").mkdirs() + println file("libs/armeabi/libgnustl_shared.so").renameTo(file("libgnustl/armeabi/libgnustl_shared.so")) + file("libgnustl/armeabi-v7a").mkdirs() + println file("libs/armeabi-v7a/libgnustl_shared.so").renameTo(file("libgnustl/armeabi-v7a/libgnustl_shared.so")) + file("libgnustl/mips").mkdirs() + println file("libs/mips/libgnustl_shared.so").renameTo(file("libgnustl/mips/libgnustl_shared.so")) + file("libgnustl/x86").mkdirs() + println file("libs/x86/libgnustl_shared.so").renameTo(file("libgnustl/x86/libgnustl_shared.so")) + } +} +tasks.withType(JavaCompile) { + compileTask -> compileTask.dependsOn << [buildOsmAndCore, cleanupDuplicatesInCore] +} + +repositories { + ivy { + name = "OsmAndBinariesIvy" + url = "http://builder.osmand.net" + layout "pattern", { + artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" + } + } +} + +dependencies { + compile project(path: ":OsmAnd-java", configuration: "android") + compile fileTree( + dir: "libs", + include: ["*.jar"], + exclude: [ + "QtAndroid-bundled.jar", + "QtAndroidAccessibility-bundled.jar", + "android-support*.jar", + "OsmAndCore_android.jar", + "OsmAndCore_wrapper.jar"]) + compile "com.android.support:appcompat-v7:21.0.3" + legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar" + qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar" + qtcoredebugCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" + qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar" + qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" +} diff --git a/OsmAnd/project.properties b/OsmAnd/project.properties index d0ba12ed4b..a19f136385 100644 --- a/OsmAnd/project.properties +++ b/OsmAnd/project.properties @@ -13,3 +13,4 @@ split.density=false target=android-21 dex.force.jumbo=true android.library.reference.1=../appcompat +android.library.reference.2=../eclipse-compile/fab diff --git a/OsmAnd/res/drawable-hdpi/ic_group_add.png b/OsmAnd/res/drawable-hdpi/ic_group_add.png new file mode 100644 index 0000000000..f48bff4b32 Binary files /dev/null and b/OsmAnd/res/drawable-hdpi/ic_group_add.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled.png index 88f5fe591e..dabfb4835c 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled_white.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled_white.png index e1551c09e7..38976505df 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled_white.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_disabled_white.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled.png index 3347443c08..11567f3e64 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled_white.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled_white.png index a96327e764..62c934c3ad 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled_white.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_enabled_white.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked.png index 94034f03a5..607bbc35bd 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked.png differ diff --git a/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked_white.png b/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked_white.png index 08810a75f5..4bd74864e3 100644 Binary files a/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked_white.png and b/OsmAnd/res/drawable-hdpi/la_backtoloc_tracked_white.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass.png b/OsmAnd/res/drawable-hdpi/map_compass.png index b8f95f0315..e852a4db1d 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass.png and b/OsmAnd/res/drawable-hdpi/map_compass.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass_bearing.png b/OsmAnd/res/drawable-hdpi/map_compass_bearing.png index 5818cc9ea7..525fec8476 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass_bearing.png and b/OsmAnd/res/drawable-hdpi/map_compass_bearing.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass_bearing_white.png b/OsmAnd/res/drawable-hdpi/map_compass_bearing_white.png index 5818cc9ea7..dff3bbb54a 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass_bearing_white.png and b/OsmAnd/res/drawable-hdpi/map_compass_bearing_white.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass_niu.png b/OsmAnd/res/drawable-hdpi/map_compass_niu.png index f8e94a3501..3ae3157990 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass_niu.png and b/OsmAnd/res/drawable-hdpi/map_compass_niu.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass_niu_white.png b/OsmAnd/res/drawable-hdpi/map_compass_niu_white.png index 1c82ca78c4..d8091994d8 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass_niu_white.png and b/OsmAnd/res/drawable-hdpi/map_compass_niu_white.png differ diff --git a/OsmAnd/res/drawable-hdpi/map_compass_white.png b/OsmAnd/res/drawable-hdpi/map_compass_white.png index 320c2b50d2..89792f78b9 100644 Binary files a/OsmAnd/res/drawable-hdpi/map_compass_white.png and b/OsmAnd/res/drawable-hdpi/map_compass_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/ic_group_add.png b/OsmAnd/res/drawable-mdpi/ic_group_add.png new file mode 100644 index 0000000000..9f948ed8b8 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/ic_group_add.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled.png new file mode 100644 index 0000000000..a22621ad7b Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled_white.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled_white.png new file mode 100644 index 0000000000..1c0255e8d6 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_disabled_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled.png new file mode 100644 index 0000000000..84756c6372 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled_white.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled_white.png new file mode 100644 index 0000000000..354001b060 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_enabled_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked.png new file mode 100644 index 0000000000..728cab0b10 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked.png differ diff --git a/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked_white.png b/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked_white.png new file mode 100644 index 0000000000..8ff602b697 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/la_backtoloc_tracked_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass.png b/OsmAnd/res/drawable-mdpi/map_compass.png new file mode 100644 index 0000000000..82ee8e66f6 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass_bearing.png b/OsmAnd/res/drawable-mdpi/map_compass_bearing.png new file mode 100644 index 0000000000..4617da83fa Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass_bearing.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass_bearing_white.png b/OsmAnd/res/drawable-mdpi/map_compass_bearing_white.png new file mode 100644 index 0000000000..680be485dd Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass_bearing_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass_niu.png b/OsmAnd/res/drawable-mdpi/map_compass_niu.png new file mode 100644 index 0000000000..5207161498 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass_niu.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass_niu_white.png b/OsmAnd/res/drawable-mdpi/map_compass_niu_white.png new file mode 100644 index 0000000000..8b3af153db Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass_niu_white.png differ diff --git a/OsmAnd/res/drawable-mdpi/map_compass_white.png b/OsmAnd/res/drawable-mdpi/map_compass_white.png new file mode 100644 index 0000000000..d4bc6f10fd Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/map_compass_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/ic_group_add.png b/OsmAnd/res/drawable-xhdpi/ic_group_add.png new file mode 100644 index 0000000000..bdb8250bc9 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/ic_group_add.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled.png new file mode 100644 index 0000000000..0ae0d0a3c0 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled_white.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled_white.png new file mode 100644 index 0000000000..d043af97cc Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_disabled_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled.png new file mode 100644 index 0000000000..7bcb3fb060 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled_white.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled_white.png new file mode 100644 index 0000000000..66ec312e59 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_enabled_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked.png new file mode 100644 index 0000000000..0ab76663f3 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked.png differ diff --git a/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked_white.png b/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked_white.png new file mode 100644 index 0000000000..ebf291c445 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/la_backtoloc_tracked_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass.png b/OsmAnd/res/drawable-xhdpi/map_compass.png new file mode 100644 index 0000000000..d953bc4d09 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass_bearing.png b/OsmAnd/res/drawable-xhdpi/map_compass_bearing.png new file mode 100644 index 0000000000..ef302192a3 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass_bearing.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass_bearing_white.png b/OsmAnd/res/drawable-xhdpi/map_compass_bearing_white.png new file mode 100644 index 0000000000..d8d2dd9fa7 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass_bearing_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass_niu.png b/OsmAnd/res/drawable-xhdpi/map_compass_niu.png new file mode 100644 index 0000000000..05f8351357 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass_niu.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass_niu_white.png b/OsmAnd/res/drawable-xhdpi/map_compass_niu_white.png new file mode 100644 index 0000000000..8d5dcf79fa Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass_niu_white.png differ diff --git a/OsmAnd/res/drawable-xhdpi/map_compass_white.png b/OsmAnd/res/drawable-xhdpi/map_compass_white.png new file mode 100644 index 0000000000..3752f958d7 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/map_compass_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/ic_group_add.png b/OsmAnd/res/drawable-xxhdpi/ic_group_add.png new file mode 100644 index 0000000000..7f2570d455 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/ic_group_add.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled.png new file mode 100644 index 0000000000..e7c01c8476 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled_white.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled_white.png new file mode 100644 index 0000000000..c0d0dba435 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_disabled_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled.png new file mode 100644 index 0000000000..edda237eaf Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled_white.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled_white.png new file mode 100644 index 0000000000..eaa52f5781 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_enabled_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked.png new file mode 100644 index 0000000000..5cfaea3052 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked_white.png b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked_white.png new file mode 100644 index 0000000000..15370b493e Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/la_backtoloc_tracked_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass.png b/OsmAnd/res/drawable-xxhdpi/map_compass.png new file mode 100644 index 0000000000..f6ab0bcc4f Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass_bearing.png b/OsmAnd/res/drawable-xxhdpi/map_compass_bearing.png new file mode 100644 index 0000000000..639449d194 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass_bearing.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass_bearing_white.png b/OsmAnd/res/drawable-xxhdpi/map_compass_bearing_white.png new file mode 100644 index 0000000000..ec3ad49afd Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass_bearing_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass_niu.png b/OsmAnd/res/drawable-xxhdpi/map_compass_niu.png new file mode 100644 index 0000000000..1e039c7f47 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass_niu.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass_niu_white.png b/OsmAnd/res/drawable-xxhdpi/map_compass_niu_white.png new file mode 100644 index 0000000000..8c954c1a42 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass_niu_white.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_compass_white.png b/OsmAnd/res/drawable-xxhdpi/map_compass_white.png new file mode 100644 index 0000000000..0cba24e521 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/map_compass_white.png differ diff --git a/OsmAnd/res/drawable/dash_parking_dark.xml b/OsmAnd/res/drawable/dash_parking_dark.xml new file mode 100644 index 0000000000..b416e9a9b7 --- /dev/null +++ b/OsmAnd/res/drawable/dash_parking_dark.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/dash_parking_light.xml b/OsmAnd/res/drawable/dash_parking_light.xml new file mode 100644 index 0000000000..36da79539a --- /dev/null +++ b/OsmAnd/res/drawable/dash_parking_light.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout-v14/osmo_groups_list_header.xml b/OsmAnd/res/layout-v14/osmo_groups_list_header.xml index abf588770a..8f3b5720c3 100644 --- a/OsmAnd/res/layout-v14/osmo_groups_list_header.xml +++ b/OsmAnd/res/layout-v14/osmo_groups_list_header.xml @@ -1,91 +1,94 @@ + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> - + - + - - + + - + - + - + -