-
Notifications
You must be signed in to change notification settings - Fork 60
/
activity_view_rider_location.xml
47 lines (43 loc) · 1.84 KB
/
activity_view_rider_location.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
<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"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.akashbhave.locomoto.YourLocation"
android:id="@+id/relativeLayout">
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.akashbhave.locomoto.YourLocation" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Accept Request"
android:id="@+id/acceptReqButton"
android:onClick="acceptRequest"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="10dp"
android:textSize="17sp"
android:textColor="#ffffff"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:background="@drawable/acceptrequest_button" />
<ImageButton
android:layout_width="60dp"
android:layout_height="60dp"
android:id="@+id/imageButton"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/back"
android:scaleType="fitCenter"
android:background="@android:color/transparent"
android:onClick="goBack" />
</RelativeLayout>