Merge branch 'r2.0' of https://github.com/osmandapp/Osmand into r2.0
|
@ -141,11 +141,11 @@ android {
|
|||
|
||||
buildTypes {
|
||||
debug {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
||||
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
||||
signingConfig signingConfigs.development
|
||||
}
|
||||
release {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
||||
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
||||
signingConfig signingConfigs.publishing
|
||||
}
|
||||
}
|
||||
|
@ -278,6 +278,12 @@ tasks.withType(JavaCompile) {
|
|||
compileTask -> compileTask.dependsOn << [collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore]
|
||||
}
|
||||
|
||||
clean.dependsOn 'cleanNoTranslate'
|
||||
|
||||
task cleanNoTranslate() {
|
||||
delete ('res/values/no_translate.xml')
|
||||
}
|
||||
|
||||
repositories {
|
||||
ivy {
|
||||
name = "OsmAndBinariesIvy"
|
||||
|
@ -290,6 +296,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":eclipse-compile:appcompat")
|
||||
compile project(path: ":OsmAnd-java", configuration: "android")
|
||||
compile fileTree(
|
||||
dir: "libs",
|
||||
|
@ -300,9 +307,6 @@ dependencies {
|
|||
"android-support*.jar",
|
||||
"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.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"
|
||||
|
|
|
@ -13,6 +13,3 @@ split.density=false
|
|||
target=android-21
|
||||
dex.force.jumbo=true
|
||||
android.library.reference.1=../eclipse-compile/appcompat
|
||||
android.library.reference.2=../eclipse-compile/observable
|
||||
android.library.reference.2=../eclipse-compile/observable
|
||||
android.library.reference.3=../eclipse-compile/fab
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/osmo_grop_name_length_alert"
|
||||
android:textColor="@color/fab_material_red_500"/>
|
||||
android:textColor="@color/osmbug_closed"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -700,7 +700,7 @@ public class WaypointHelper {
|
|||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_traffic_calming);
|
||||
}
|
||||
} else if(((AlarmInfo) point).getType().toString() == "TOLL_BOOTH") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_barrier_toll_booth);
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_toll_booth);
|
||||
} else if(((AlarmInfo) point).getType().toString() == "STOP") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_stop);
|
||||
} else if(((AlarmInfo) point).getType().toString() == "PEDESTRIAN") {
|
||||
|
|
26
eclipse-compile/appcompat/build.gradle
Normal file
|
@ -0,0 +1,26 @@
|
|||
apply plugin: 'com.android.library'
|
||||
dependencies {
|
||||
compile files('libs/android-support-v4.jar')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "21.1.2"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 21
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile "AndroidManifest.xml"
|
||||
aidl.srcDirs = ["src"]
|
||||
java.srcDirs = ["src"]
|
||||
resources.srcDirs = ["src"]
|
||||
renderscript.srcDirs = ["src"]
|
||||
res.srcDirs = ["res"]
|
||||
assets.srcDirs = ["assets"]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/res/anim/fade_in.xml
|
||||
**
|
||||
** Copyright 2014, The Android Open Source Project
|
||||
**
|
||||
** 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<scale android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:fromXScale="0.9" android:toXScale="1.0"
|
||||
android:fromYScale="0.9" android:toYScale="1.0"
|
||||
android:pivotX="50%" android:pivotY="100%"
|
||||
android:duration="@integer/abc_config_activityDefaultDur" />
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:fromAlpha="0.0" android:toAlpha="1.0"
|
||||
android:duration="@integer/abc_config_activityShortDur" />
|
||||
</set>
|
21
eclipse-compile/appcompat/res/anim/abc_popup_enter.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
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.
|
||||
-->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false" >
|
||||
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="@integer/abc_config_activityShortDur" />
|
||||
</set>
|
21
eclipse-compile/appcompat/res/anim/abc_popup_exit.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2013 The Android Open Source Project
|
||||
|
||||
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.
|
||||
-->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false" >
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="@integer/abc_config_activityShortDur" />
|
||||
</set>
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2014 The Android Open Source Project
|
||||
~
|
||||
~ 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.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<scale android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:fromXScale="1.0" android:toXScale="0.9"
|
||||
android:fromYScale="1.0" android:toYScale="0.9"
|
||||
android:pivotX="50%" android:pivotY="100%"
|
||||
android:duration="@integer/abc_config_activityDefaultDur" />
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||
android:duration="@integer/abc_config_activityShortDur" />
|
||||
</set>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@color/switch_thumb_disabled_material_dark"/>
|
||||
<item android:color="@color/switch_thumb_normal_material_dark"/>
|
||||
</selector>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@color/switch_thumb_disabled_material_light"/>
|
||||
<item android:color="@color/switch_thumb_normal_material_light"/>
|
||||
</selector>
|
After Width: | Height: | Size: 112 B |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 563 B |
After Width: | Height: | Size: 954 B |
After Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 120 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 93 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 90 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 90 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 108 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 850 B After Width: | Height: | Size: 675 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 102 B After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 102 B |
Before Width: | Height: | Size: 94 B After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 99 B After Width: | Height: | Size: 93 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 87 B |
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 367 B |
After Width: | Height: | Size: 108 B |
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 358 B |
After Width: | Height: | Size: 744 B |
After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 721 B |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 843 B |
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 95 B |
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 108 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 264 B |