summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_padding.xml
blob: cd4aa4bdefb919c3d4309705bbba273defb9cf5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">

    <com.mapbox.mapboxsdk.maps.MapView
        android:id="@id/mapView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <View
        android:layout_width="@dimen/map_padding_left"
        android:layout_height="match_parent"
        android:alpha="0.5"
        android:background="@color/mapbox_blue"/>

    <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/map_padding_bottom"
        android:layout_gravity="bottom"
        android:layout_marginEnd="@dimen/map_padding_right"
        android:layout_marginLeft="@dimen/map_padding_left"
        android:layout_marginRight="@dimen/map_padding_right"
        android:layout_marginStart="@dimen/map_padding_left"
        android:alpha="0.5"
        android:background="@color/mapbox_blue"/>

    <View
        android:layout_width="@dimen/map_padding_right"
        android:layout_height="match_parent"
        android:layout_gravity="end"
        android:alpha="0.5"
        android:background="@color/mapbox_blue"/>

</merge>