From 7fa32a0d083b9c828d2e487f547d55967bd43817 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Tue, 12 Apr 2016 16:38:42 -0500 Subject: [PATCH] [android] #4689 - Adding Debug Mode Example --- .../src/main/AndroidManifest.xml | 8 ++ .../activity/maplayout/DebugModeActivity.java | 127 ++++++++++++++++++ .../src/main/res/drawable/ic_refresh_24dp.xml | 9 ++ .../main/res/layout/activity_debug_mode.xml | 57 ++++++++ .../src/main/res/values/strings.xml | 2 + 5 files changed, 203 insertions(+) create mode 100644 platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java create mode 100644 platform/android/MapboxGLAndroidSDKTestApp/src/main/res/drawable/ic_refresh_24dp.xml create mode 100644 platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml index 54199f9b9..4ec50e854 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml @@ -186,6 +186,14 @@ android:name="@string/category" android:value="@string/category_maplayout" /> + + + + + diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml new file mode 100644 index 000000000..36adfbc6e --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml index 3ada24d88..434f32b33 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml @@ -37,6 +37,7 @@ User tracking mode Custom Layer Map Padding + Debug Mode Offline Map Min/Max Zoom @@ -57,6 +58,7 @@ Center the camera around a bounds Update position and icon Map Padding example + Debug Mode Offline Map example Animate the position change of a Marker Add a polyline to a map