summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_padding.xml
blob: a0de31ee488438e9fa7d980755888be5d17f329b (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
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <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" />

</FrameLayout>