summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_preview.xml
blob: 1c1ab0e71b62aee2d659102637d143544ad0dc19 (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
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">

    <ImageView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop"
        android:contentDescription="@null"
        android:src="@drawable/mapbox_mapview_preview"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"/>

    <ImageView
        android:id="@id/logoView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_marginBottom="@dimen/mapbox_four_dp"
        android:layout_marginLeft="@dimen/mapbox_four_dp"
        android:layout_marginStart="@dimen/mapbox_four_dp"
        android:contentDescription="@null"
        android:src="@drawable/mapbox_logo_icon"/>

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_toEndOf="@+id/logoView"
        android:contentDescription="@null"
        android:layout_marginBottom="@dimen/mapbox_four_dp"
        android:background="@drawable/mapbox_default_bg_selector"
        android:src="@drawable/mapbox_info_bg_selector"
        android:layout_marginLeft="@dimen/mapbox_four_dp"
        android:layout_marginStart="@dimen/mapbox_four_dp"
        android:layout_toRightOf="@+id/logoView"/>

    <ImageView
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:layout_margin="10dp"
        android:contentDescription="@null"
        android:src="@drawable/mapbox_compass_icon"/>

</RelativeLayout>