From cd77b8fcd4f1542d30547aa5dc1dfb1c213b85dc Mon Sep 17 00:00:00 2001 From: Emux Date: Wed, 21 Feb 2018 12:35:41 +0200 Subject: [PATCH] Samples improvements #32 --- vtm-android-example/build.gradle | 4 ++-- vtm-android-example/src/org/oscim/android/test/Samples.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vtm-android-example/build.gradle b/vtm-android-example/build.gradle index 2a4985db..c7c505cf 100644 --- a/vtm-android-example/build.gradle +++ b/vtm-android-example/build.gradle @@ -62,13 +62,13 @@ android { exclude 'META-INF/NOTICE' } - buildTypes { + /*buildTypes { all { minifyEnabled true useProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } - } + }*/ } task run(dependsOn: 'installDebug') { diff --git a/vtm-android-example/src/org/oscim/android/test/Samples.java b/vtm-android-example/src/org/oscim/android/test/Samples.java index 082d6848..32dac566 100644 --- a/vtm-android-example/src/org/oscim/android/test/Samples.java +++ b/vtm-android-example/src/org/oscim/android/test/Samples.java @@ -95,6 +95,7 @@ public class Samples extends Activity { startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/graphhopper/graphhopper/tree/master/android"))); } })); + linearLayout.addView(createButton(LocationActivity.class)); linearLayout.addView(createButton(PoiSearchActivity.class)); linearLayout.addView(createLabel("Vector Features")); @@ -116,7 +117,6 @@ public class Samples extends Activity { linearLayout.addView(createButton(PathOverlayActivity.class)); linearLayout.addView(createButton(LineTexActivity.class)); linearLayout.addView(createButton(VectorLayerActivity.class)); - linearLayout.addView(createButton(LocationActivity.class)); linearLayout.addView(createLabel("User Interaction")); linearLayout.addView(createButton(Animator2Activity.class));