summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/res')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/color/material_bg_selector.xml5
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/attribution_logo.pngbin0 -> 3408 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/compass.pngbin0 -> 3787 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/default_marker.pngbin0 -> 1520 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location.pngbin0 -> 2783 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_bearing.pngbin0 -> 5939 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_stale.pngbin0 -> 2593 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/attribution_logo.pngbin0 -> 1958 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/compass.pngbin0 -> 2488 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/default_marker.pngbin0 -> 1010 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location.pngbin0 -> 2089 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_bearing.pngbin0 -> 3599 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_stale.pngbin0 -> 1942 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-v21/bg_default_selector.xml9
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/attribution_logo.pngbin0 -> 4492 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/compass.pngbin0 -> 4775 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/default_marker.pngbin0 -> 1995 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location.pngbin0 -> 3520 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_bearing.pngbin0 -> 8155 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_stale.pngbin0 -> 3287 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/attribution_logo.pngbin0 -> 7059 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/compass.pngbin0 -> 7527 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/default_marker.pngbin0 -> 2998 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location.pngbin0 -> 5057 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_bearing.pngbin0 -> 13246 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_stale.pngbin0 -> 4676 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/attribution_logo.pngbin0 -> 9402 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/bg_infowindow_content.9.pngbin0 -> 928 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/compass.pngbin0 -> 18537 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/default_marker.pngbin0 -> 4006 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location.pngbin0 -> 5236 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_bearing.pngbin0 -> 11688 bytes
-rwxr-xr-xplatform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_stale.pngbin0 -> 5053 bytes
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable/bg_default_selector.xml6
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp.xml9
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selected.xml9
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selector.xml5
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/attribution_list_item.xml11
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/fragment_mapview.xml5
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_content.xml56
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_view.xml4
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml37
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/arrays.xml14
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml90
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/colors.xml9
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml7
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/strings.xml18
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml10
48 files changed, 304 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/color/material_bg_selector.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/color/material_bg_selector.xml
new file mode 100644
index 0000000000..64d7f46c2d
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/color/material_bg_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="?attr/colorPrimaryDark" android:state_pressed="true" />
+ <item android:color="?attr/colorPrimary" />
+</selector> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/attribution_logo.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/attribution_logo.png
new file mode 100644
index 0000000000..c0f4ed2c4c
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/attribution_logo.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/compass.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/compass.png
new file mode 100644
index 0000000000..6bb20027f4
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/compass.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/default_marker.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/default_marker.png
new file mode 100644
index 0000000000..8b0af4c6ab
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/default_marker.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location.png
new file mode 100755
index 0000000000..1ae8d541af
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_bearing.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_bearing.png
new file mode 100755
index 0000000000..8ecaffa2e8
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_bearing.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_stale.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_stale.png
new file mode 100755
index 0000000000..0d599c01fa
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-hdpi/my_location_stale.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/attribution_logo.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/attribution_logo.png
new file mode 100644
index 0000000000..5a9da3fe39
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/attribution_logo.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/compass.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/compass.png
new file mode 100644
index 0000000000..cf15ed1876
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/compass.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/default_marker.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/default_marker.png
new file mode 100644
index 0000000000..b112096c18
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/default_marker.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location.png
new file mode 100755
index 0000000000..542cd25e22
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_bearing.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_bearing.png
new file mode 100755
index 0000000000..429f03f648
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_bearing.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_stale.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_stale.png
new file mode 100755
index 0000000000..6613c41153
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-mdpi/my_location_stale.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-v21/bg_default_selector.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-v21/bg_default_selector.xml
new file mode 100644
index 0000000000..ef82c18f5d
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-v21/bg_default_selector.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="?android:colorControlHighlight">
+ <item android:id="@android:id/mask">
+ <shape android:shape="oval">
+ <solid android:color="@android:color/white" />
+ </shape>
+ </item>
+</ripple> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/attribution_logo.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/attribution_logo.png
new file mode 100644
index 0000000000..194aa64da2
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/attribution_logo.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/compass.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/compass.png
new file mode 100644
index 0000000000..6257209368
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/compass.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/default_marker.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/default_marker.png
new file mode 100644
index 0000000000..d05c82bfe2
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/default_marker.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location.png
new file mode 100755
index 0000000000..ca1f1fe630
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_bearing.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_bearing.png
new file mode 100755
index 0000000000..1b88f9f489
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_bearing.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_stale.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_stale.png
new file mode 100755
index 0000000000..7af3789ff0
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xhdpi/my_location_stale.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/attribution_logo.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/attribution_logo.png
new file mode 100644
index 0000000000..d1260a16f3
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/attribution_logo.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/compass.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/compass.png
new file mode 100644
index 0000000000..c59b4c7528
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/compass.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/default_marker.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/default_marker.png
new file mode 100644
index 0000000000..703b172c15
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/default_marker.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location.png
new file mode 100755
index 0000000000..6f175df168
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_bearing.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_bearing.png
new file mode 100755
index 0000000000..f4bb454a06
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_bearing.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_stale.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_stale.png
new file mode 100755
index 0000000000..f1d2f2eca0
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxhdpi/my_location_stale.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/attribution_logo.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/attribution_logo.png
new file mode 100644
index 0000000000..5f9647610a
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/attribution_logo.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/bg_infowindow_content.9.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/bg_infowindow_content.9.png
new file mode 100644
index 0000000000..584b320299
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/bg_infowindow_content.9.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/compass.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/compass.png
new file mode 100755
index 0000000000..da04f5b94c
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/compass.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/default_marker.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/default_marker.png
new file mode 100644
index 0000000000..8331ffef71
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/default_marker.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location.png
new file mode 100755
index 0000000000..d43541ac3c
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_bearing.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_bearing.png
new file mode 100755
index 0000000000..a8cccbb3e2
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_bearing.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_stale.png b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_stale.png
new file mode 100755
index 0000000000..33e952391f
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable-xxxhdpi/my_location_stale.png
Binary files differ
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/bg_default_selector.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/bg_default_selector.xml
new file mode 100644
index 0000000000..48e53e7ee8
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/bg_default_selector.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@color/gray_light" android:state_pressed="true" />
+ <item android:drawable="@color/gray_light" android:state_focused="true" />
+ <item android:drawable="@android:color/transparent" />
+</selector> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp.xml
new file mode 100644
index 0000000000..fa82bb8d9b
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:fillColor="#FF1E8CAB"
+ android:pathData="M11,17h2v-6h-2v6zm1,-15C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm0,18c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM11,9h2V7h-2v2z"/>
+</vector>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selected.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selected.xml
new file mode 100644
index 0000000000..074928d05a
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selected.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportHeight="24.0"
+ android:viewportWidth="24.0">
+ <path
+ android:fillColor="#551E8CAB"
+ android:pathData="M11,17h2v-6h-2v6zm1,-15C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm0,18c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM11,9h2V7h-2v2z" />
+</vector>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selector.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selector.xml
new file mode 100644
index 0000000000..7f6245b30a
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/drawable/ic_info_outline_24dp_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_info_outline_24dp_selected" android:state_pressed="true" />
+ <item android:drawable="@drawable/ic_info_outline_24dp" />
+</selector> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/attribution_list_item.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/attribution_list_item.xml
new file mode 100644
index 0000000000..1252fb194f
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/attribution_list_item.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:textColor="@android:color/white" />
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/fragment_mapview.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/fragment_mapview.xml
new file mode 100644
index 0000000000..22afd6e513
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/fragment_mapview.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.mapbox.mapboxsdk.views.MapView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_content.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_content.xml
new file mode 100644
index 0000000000..3e36cbf91a
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_content.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <LinearLayout
+ android:id="@+id/infowindow_content"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/bg_infowindow_content"
+ android:orientation="vertical"
+ android:paddingBottom="16dp"
+ android:paddingLeft="20dp"
+ android:paddingRight="20dp"
+ android:paddingTop="14dp">
+
+ <TextView
+ android:id="@+id/infowindow_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dp"
+ android:maxEms="17"
+ android:text="@string/infoWindowTitle"
+ android:textColor="@color/black"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/infowindow_description"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dp"
+ android:layout_marginTop="2dp"
+ android:lineSpacingExtra="1dp"
+ android:maxEms="17"
+ android:text="@string/infoWindowDescription"
+ android:textColor="@color/gray"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/infowindow_subdescription"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxEms="17"
+ android:text="@string/infoWindowAddress"
+ android:textColor="@color/black"
+ android:textSize="12sp"
+ android:visibility="gone" />
+ </LinearLayout>
+
+ <com.mapbox.mapboxsdk.annotations.InfoWindowTipView
+ android:id="@+id/infowindow_tipview"
+ android:layout_width="@dimen/infowindow_tipview_width"
+ android:layout_height="14dp"
+ android:layout_below="@+id/infowindow_content" />
+
+</merge>
+
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_view.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_view.xml
new file mode 100644
index 0000000000..ff47642426
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/infowindow_view.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.mapbox.mapboxsdk.annotations.InfoWindowView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml
new file mode 100644
index 0000000000..a7503332a4
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <TextureView
+ android:id="@+id/textureView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ <com.mapbox.mapboxsdk.views.CompassView
+ android:id="@+id/compassView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <ImageView
+ android:id="@+id/logoView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/mapboxIconContentDescription"
+ android:src="@drawable/attribution_logo" />
+
+ <ImageView
+ android:id="@+id/attributionView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:clickable="true"
+ android:contentDescription="@string/attributionsIconContentDescription"
+ android:padding="7dp"
+ android:src="@drawable/ic_info_outline_24dp_selector"
+ android:background="@drawable/bg_default_selector"/>
+
+ <com.mapbox.mapboxsdk.views.UserLocationView
+ android:id="@+id/userLocationView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+</merge> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/arrays.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/arrays.xml
new file mode 100644
index 0000000000..2c1fdf8d13
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/arrays.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <array name="attribution_names">
+ <item>&#169; Mapbox</item>
+ <item>&#169; OpenStreetMap</item>
+ <item>Improve this map</item>
+ </array>
+ <!-- If editing this array update MapView.ATTRIBUTION_INDEX_IMPROVE_THIS_MAP -->
+ <array name="attribution_links" formatted="false" translatable="false">
+ <item>https://www.mapbox.com/about/maps/</item>
+ <item>http://www.openstreetmap.org/about/</item>
+ <item>https://www.mapbox.com/map-feedback/#/%1$f/%2$f/%3$d</item>
+ </array>
+</resources> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
new file mode 100644
index 0000000000..35696850b7
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
@@ -0,0 +1,90 @@
+<resources>
+ <!-- these are public -->
+ <declare-styleable name="MapView">
+ <attr name="center_longitude" format="float" />
+ <attr name="center_latitude" format="float" />
+ <attr name="zoom_level" format="float" />
+ <attr name="direction" format="float" />
+ <attr name="zoom_enabled" format="boolean" />
+ <attr name="scroll_enabled" format="boolean" />
+ <attr name="rotate_enabled" format="boolean" />
+ <attr name="tilt_enabled" format="boolean" />
+ <attr name="zoom_controls_enabled" format="boolean" />
+ <attr name="debug_active" format="boolean" />
+ <attr name="style_url" format="string" />
+ <attr name="access_token" format="string" />
+ <attr name="style_classes" format="string" />
+ <attr name="my_location_enabled" format="boolean" />
+ <attr name="compass_enabled" format="boolean" />
+ <attr name="compass_gravity">
+ <flag name="top" value="0x30" />
+ <flag name="bottom" value="0x50" />
+ <flag name="left" value="0x03" />
+ <flag name="right" value="0x05" />
+ <flag name="center_vertical" value="0x10" />
+ <flag name="fill_vertical" value="0x70" />
+ <flag name="center_horizontal" value="0x01" />
+ <flag name="fill_horizontal" value="0x07" />
+ <flag name="center" value="0x11" />
+ <flag name="fill" value="0x77" />
+ <flag name="clip_vertical" value="0x80" />
+ <flag name="clip_horizontal" value="0x08" />
+ <flag name="start" value="0x00800003" />
+ <flag name="end" value="0x00800005" />
+ </attr>
+ <attr name="compass_margin_left" format="dimension" />
+ <attr name="compass_margin_top" format="dimension" />
+ <attr name="compass_margin_right" format="dimension" />
+ <attr name="compass_margin_bottom" format="dimension" />
+ <attr name="logo_gravity">
+ <flag name="top" value="0x30" />
+ <flag name="bottom" value="0x50" />
+ <flag name="left" value="0x03" />
+ <flag name="right" value="0x05" />
+ <flag name="center_vertical" value="0x10" />
+ <flag name="fill_vertical" value="0x70" />
+ <flag name="center_horizontal" value="0x01" />
+ <flag name="fill_horizontal" value="0x07" />
+ <flag name="center" value="0x11" />
+ <flag name="fill" value="0x77" />
+ <flag name="clip_vertical" value="0x80" />
+ <flag name="clip_horizontal" value="0x08" />
+ <flag name="start" value="0x00800003" />
+ <flag name="end" value="0x00800005" />
+ </attr>
+ <attr name="logo_margin_left" format="dimension" />
+ <attr name="logo_margin_top" format="dimension" />
+ <attr name="logo_margin_right" format="dimension" />
+ <attr name="logo_margin_bottom" format="dimension" />
+ <attr name="logo_visibility">
+ <enum name="visible" value="0x0" />
+ <enum name="invisible" value="0x4" />
+ <enum name="gone" value="0x8" />
+ </attr>
+ <attr name="attribution_gravity">
+ <flag name="top" value="0x30" />
+ <flag name="bottom" value="0x50" />
+ <flag name="left" value="0x03" />
+ <flag name="right" value="0x05" />
+ <flag name="center_vertical" value="0x10" />
+ <flag name="fill_vertical" value="0x70" />
+ <flag name="center_horizontal" value="0x01" />
+ <flag name="fill_horizontal" value="0x07" />
+ <flag name="center" value="0x11" />
+ <flag name="fill" value="0x77" />
+ <flag name="clip_vertical" value="0x80" />
+ <flag name="clip_horizontal" value="0x08" />
+ <flag name="start" value="0x00800003" />
+ <flag name="end" value="0x00800005" />
+ </attr>
+ <attr name="attribution_margin_left" format="dimension" />
+ <attr name="attribution_margin_top" format="dimension" />
+ <attr name="attribution_margin_right" format="dimension" />
+ <attr name="attribution_margin_bottom" format="dimension" />
+ <attr name="attribution_visibility">
+ <enum name="visible" value="0x0" />
+ <enum name="invisible" value="0x4" />
+ <enum name="gone" value="0x8" />
+ </attr>
+ </declare-styleable>
+</resources>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/colors.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/colors.xml
new file mode 100644
index 0000000000..97d29c7d45
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/colors.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="white">#FFFFFF</color>
+ <color name="black">#000000</color>
+ <color name="gray">#7D7F80</color>
+ <color name="gray_light">#EEEEEE</color>
+ <color name="mapbox_blue">#1E8CAB</color>
+ <color name="my_location_ring">@color/mapbox_blue</color>
+</resources>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml
new file mode 100644
index 0000000000..dc09cc1114
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <dimen name="infowindow_tipview_width">20dp</dimen>
+ <dimen name="infowindow_margin">8dp</dimen>
+ <dimen name="infowindow_offset">-2dp</dimen>
+ <dimen name="infowindow_line_width">1.5dp</dimen>
+</resources> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/strings.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/strings.xml
new file mode 100644
index 0000000000..eadcdcc043
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/strings.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="compassContentDescription">Map compass. Click to reset the map rotation to North.</string>
+ <string name="attributionsIconContentDescription">Attribution icon. Click to show attribution dialog.</string>
+ <string name="attributionsDialogTitle">Mapbox Android SDK</string>
+ <string name="mapboxIconContentDescription">The Mapbox logo.</string>
+ <string name="infoWindowTitle">Title</string>
+ <string name="infoWindowDescription">Description</string>
+ <string name="infoWindowAddress">Address</string>
+
+ <!-- these are public -->
+ <string name="style_mapbox_streets">mapbox://styles/mapbox/streets-v8</string>
+ <string name="style_emerald">mapbox://styles/mapbox/emerald-v8</string>
+ <string name="style_light">mapbox://styles/mapbox/light-v8</string>
+ <string name="style_dark">mapbox://styles/mapbox/dark-v8</string>
+ <string name="style_satellite">mapbox://styles/mapbox/satellite-v8</string>
+ <string name="style_satellite_streets">mapbox://styles/mapbox/satellite-hybrid-v8</string>
+</resources>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml
new file mode 100644
index 0000000000..9ad12f76ad
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <!-- these are public -->
+ <style name="AttributionAlertDialogStyle" parent="Theme.AppCompat.Dialog.Alert">
+ <item name="android:textColorPrimary">@android:color/white</item>
+ <item name="android:background">@color/mapbox_blue</item>
+ </style>
+
+</resources> \ No newline at end of file