-
Notifications
You must be signed in to change notification settings - Fork 61
/
activity_your_location.xml
51 lines (47 loc) · 2 KB
/
activity_your_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
48
49
50
51
<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">
<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" />
<TextView
android:layout_width="100dp"
android:layout_height="60dp"
android:id="@+id/requestStatusView"
android:textSize="14sp"
android:textColor="#000000"
android:background="@drawable/statusview"
android:gravity="center_vertical|center_horizontal"
android:paddingRight="7dp"
android:paddingLeft="7dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginTop="10dp"
android:layout_marginLeft="10dp"
android:visibility="invisible" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="requestRide"
android:text="Request Ride"
android:id="@+id/requestButton"
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/request_button" />
</RelativeLayout>