summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml
diff options
context:
space:
mode:
authorTobrun <tobrun@mapbox.com>2017-03-04 15:43:39 -0500
committerGitHub <noreply@github.com>2017-03-04 15:43:39 -0500
commit328d4f667271d36e74456d8ed731e8fe506d6cb0 (patch)
treeef306c0090808d333ac888c74c5286c31e655be4 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml
parentf6cd017f58f0e31d51c7e877b43aca3fc50d1866 (diff)
downloadqtlocation-mapboxgl-328d4f667271d36e74456d8ed731e8fe506d6cb0.tar.gz
[android] - example on converting an Android SDK view to a Bitmap to be used as SymbolAnnotation (#8258)
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml
index c2bbdae775..324a4861c3 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_custom_marker.xml
@@ -11,11 +11,10 @@
<TextView
android:id="@id/textView"
android:layout_width="wrap_content"
- android:textColor="@android:color/white"
android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_alignBottom="@id/imageView"
- android:layout_centerHorizontal="true"
- android:padding="2dp"/>
+ android:layout_centerInParent="true"
+ android:padding="2dp"
+ android:textColor="@android:color/white"
+ android:textStyle="bold"/>
</RelativeLayout>