summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_padding.xml
blob: aa3c50d65c9d9589a863466c473a457b0d42d8fa (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
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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:layout_marginTop="?attr/actionBarSize"
        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" />


    <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:alpha="0.5"
        android:background="@color/primary"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />

    <View
        android:layout_width="@dimen/map_padding_right"
        android:layout_height="match_parent"
        android:layout_gravity="end"
        android:layout_marginLeft="@dimen/map_padding_left"
        android:layout_marginStart="@dimen/map_padding_left"
        android:alpha="0.5"
        android:layout_marginTop="?attr/actionBarSize"
        android:background="@color/mapbox_blue" />

</FrameLayout>