-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactivity_maps.xml
72 lines (69 loc) · 2.68 KB
/
activity_maps.xml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.arifulislam.tourguidepro.locations.MapsActivity">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/mapContainer">
</FrameLayout>
<ImageButton
android:id="@+id/search_button_map"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/search"
android:layout_marginTop="16dp"
android:background="@drawable/search_button_shape"
android:layout_alignParentLeft="true"/>
<ImageButton
android:src="@drawable/next_route"
android:id="@+id/next_route_ib"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
android:layout_marginBottom="16dp"
android:layout_marginLeft="16dp"/>
<ImageButton
android:src="@drawable/direction"
android:id="@+id/direction_show_ib"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_above="@+id/next_route_ib"
android:scaleType="centerCrop"
android:layout_marginLeft="16dp"/>
<ImageButton
android:src="@drawable/driving"
android:id="@+id/driving_ib"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:scaleType="centerCrop"
android:layout_marginBottom="16dp"
android:layout_marginRight="60dp"
/>
<ImageButton
android:src="@drawable/walking"
android:id="@+id/walking_ib"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_toLeftOf="@+id/driving_ib"
android:layout_alignParentBottom="true"
android:scaleType="centerCrop"
android:layout_marginBottom="16dp"
/>
<Button
android:id="@+id/map_view_btn"
android:layout_width="60dp"
android:layout_height="50dp"
android:layout_marginTop="60dp"
android:layout_alignParentRight="true"
android:layout_marginRight="6dp"
android:text="map"
android:background="@drawable/shape_button"/>
</RelativeLayout>