diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 854dddaf58..d50b71a05e 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -8,7 +8,6 @@ apply plugin: 'com.android.application' // APP_EDITION - date stamp of builds // APP_FEATURES - features +play_market +gps_status -parking_plugin -blackberry -free_version -amazon - // 1. To be done Filter fonts // // @@ -39,7 +38,7 @@ android { } defaultConfig { - minSdkVersion 9 + minSdkVersion 14 targetSdkVersion 21 versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode @@ -209,13 +208,13 @@ task collectRoutingResources(type: Sync) { } task collectMiscResources(type: Copy) { - into "src/net/osmand/osm" - from("../../resources/obf_creation") { - include "rendering_types.xml" - } - from("../../resources/poi") { - include "poi_types.xml" - } + into "src/net/osmand/osm" + from("../../resources/obf_creation") { + include "rendering_types.xml" + } + from("../../resources/poi") { + include "poi_types.xml" + } } task collectRenderingStylesResources(type: Sync) { @@ -301,7 +300,9 @@ repositories { dependencies { compile project(path: ":OsmAnd-java", configuration: "android") - compile project(":eclipse-compile:appcompat") + compile project(":eclipse-compile:design") + compile project(":cardview") +// compile project(":recyclerview") compile fileTree( dir: "libs", include: ["*.jar"], @@ -311,11 +312,12 @@ dependencies { "OsmAndCore_android.jar", "OsmAndCore_wrapper.jar"]) // compile "com.github.ksoichiro:android-observablescrollview:1.5.0" - // compile "com.android.support:appcompat-v7:21.0.3" +// compile "com.android.support:appcompat-v7:22.2.1" // 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" qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar" qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" +// compile 'com.android.support:design:22.2.1' } diff --git a/OsmAnd/project.properties b/OsmAnd/project.properties index fd62b55da2..146000a0b5 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=../eclipse-compile/appcompat +android.library.reference.2=../eclipse-compile/design diff --git a/OsmAnd/res/drawable-xhdpi/bg_first_usage.webp b/OsmAnd/res/drawable-xhdpi/bg_first_usage.webp new file mode 100644 index 0000000000..4900083e15 Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/bg_first_usage.webp differ diff --git a/OsmAnd/res/drawable-xxhdpi/map_target_point.png b/OsmAnd/res/drawable-xxhdpi/map_target_point.png old mode 100755 new mode 100644 index bb6ec0fe84..f48d52c6ef Binary files a/OsmAnd/res/drawable-xxhdpi/map_target_point.png and b/OsmAnd/res/drawable-xxhdpi/map_target_point.png differ diff --git a/OsmAnd/res/layout-v14/check_item_rel.xml b/OsmAnd/res/layout-v14/check_item_rel.xml index 885024c20a..2962ada85e 100644 --- a/OsmAnd/res/layout-v14/check_item_rel.xml +++ b/OsmAnd/res/layout-v14/check_item_rel.xml @@ -1,8 +1,5 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/OsmAnd/res/layout-xlarge/first_usage_fragment.xml b/OsmAnd/res/layout-xlarge/first_usage_fragment.xml new file mode 100644 index 0000000000..79de3296d4 --- /dev/null +++ b/OsmAnd/res/layout-xlarge/first_usage_fragment.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + +