From 29bb42c3d6cd33381da125d7d0cf413eda498e2a Mon Sep 17 00:00:00 2001 From: Tobrun Van Nuland Date: Tue, 26 Sep 2017 15:06:37 +0200 Subject: [android] - init overlain views on default location --- .../src/main/res/layout/mapbox_mapview_internal.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml index e2f1823327..f91075d265 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml @@ -31,6 +31,8 @@ android:id="@+id/logoView" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="bottom|start" + android:layout_margin="@dimen/mapbox_four_dp" android:contentDescription="@null" android:src="@drawable/mapbox_logo_icon"/> @@ -38,9 +40,14 @@ android:id="@+id/attributionView" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginBottom="4dp" + android:layout_gravity="bottom|start" + android:layout_marginEnd="@dimen/mapbox_four_dp" + android:layout_marginLeft="@dimen/mapbox_ninety_two_dp" + android:layout_marginRight="@dimen/mapbox_four_dp" + android:layout_marginStart="@dimen/mapbox_ninety_two_dp" + android:layout_marginTop="@dimen/mapbox_four_dp" android:adjustViewBounds="true" - android:clickable="true" - android:focusable="true" android:contentDescription="@string/mapbox_attributionsIconContentDescription" android:src="@drawable/mapbox_info_bg_selector"/> -- cgit v1.2.1