diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-12-15 09:12:04 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2017-12-15 10:12:41 -0800 |
commit | 218dcf2a330b7ad112780c14a4ba6ce5dd94499e (patch) | |
tree | 9d570f78b4b45c7e2ac5a25ca68d1d2a37af5b74 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res | |
parent | 56f6077ea4b770e35f82a87e0bdb00f4a189d009 (diff) | |
download | qtlocation-mapboxgl-218dcf2a330b7ad112780c14a4ba6ce5dd94499e.tar.gz |
[android] Add Configuration hook for local ideograph font family and demo activityupstream/android-agua-tinysdf
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res')
3 files changed, 20 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml new file mode 100644 index 0000000000..856dd24752 --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + tools:context=".activity.maplayout.LocalGlyphActivity"> + + <com.mapbox.mapboxsdk.maps.MapView + android:id="@id/mapView" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:mapbox_localIdeographFontFamily="Droid Sans" /> + +</LinearLayout> diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml index 33d9638712..7acd8b1ef8 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml @@ -67,4 +67,5 @@ <string name="description_textureview_debug">Use TextureView to render the map</string> <string name="description_textureview_resize">Resize a map rendered on a TextureView</string> <string name="description_textureview_animate">Animate a map rendered on a TextureView</string> + <string name="description_local_glyph">Suzhou using Droid Sans for Chinese glyphs</string> </resources>
\ No newline at end of file diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/titles.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/titles.xml index b90cedc518..c4d13e1068 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/titles.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/titles.xml @@ -67,4 +67,6 @@ <string name="activity_textureview_debug">TextureView debug</string> <string name="activity_textureview_resize">TextureView resize</string> <string name="activity_textureview_animate">TextureView animation</string> + <string name="activity_grid_source">Grid Source</string> + <string name="activity_local_glyph">Local CJK glyph generation</string> </resources>
\ No newline at end of file |