From f2b42af339ee63e47853c952e85dc0746902347c Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Fri, 15 Dec 2017 09:12:04 -0800 Subject: [android] Add Configuration hook for local ideograph font family and demo activity --- .../src/main/res/layout/activity_local_glyph.xml | 17 +++++++++++++++++ .../src/main/res/values/descriptions.xml | 1 + .../src/main/res/values/titles.xml | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res') 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 @@ + + + + + + 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 @@ Use TextureView to render the map Resize a map rendered on a TextureView Animate a map rendered on a TextureView + Suzhou using Droid Sans for Chinese glyphs \ 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 @@ TextureView debug TextureView resize TextureView animation + Grid Source + Local CJK glyph generation \ No newline at end of file -- cgit v1.2.1 From 9ed3aeaee10e4c4e44bfe3967db5347576e0633e Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Tue, 19 Dec 2017 12:35:31 -0800 Subject: [android] Tweak TinySDF docs to better describe font-family behavior. --- .../src/main/res/layout/activity_local_glyph.xml | 2 +- .../MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res') 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 index 856dd24752..1f8bc93d2c 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml @@ -12,6 +12,6 @@ android:id="@id/mapView" android:layout_width="match_parent" android:layout_height="match_parent" - app:mapbox_localIdeographFontFamily="Droid Sans" /> + app:mapbox_localIdeographFontFamily="sans-serif" /> diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml index 7acd8b1ef8..a13dd5d876 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml @@ -67,5 +67,5 @@ Use TextureView to render the map Resize a map rendered on a TextureView Animate a map rendered on a TextureView - Suzhou using Droid Sans for Chinese glyphs + Suzhou using local sans-serif for Chinese glyphs \ No newline at end of file -- cgit v1.2.1