activity_positioning.xml
2.51 KB
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
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
android:layout_gravity="center"
android:foregroundGravity="center"
android:visibility="visible"
tools:context="com.utbm.lo53.whereami.Positioning">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:foregroundGravity="center"
android:gravity="center"
tools:layout_editor_absoluteX="1dp"
tools:layout_editor_absoluteY="12dp">
<ImageView
android:id="@+id/map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
app:srcCompat="@drawable/map"
tools:layout_editor_absoluteX="-26dp"
tools:layout_editor_absoluteY="246dp" />
<Button
android:id="@+id/btn_locate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/dot"
android:layout_alignParentTop="true"
android:layout_alignStart="@+id/dot"
android:layout_centerInParent="true"
android:elevation="0dp"
android:foregroundGravity="center"
android:gravity="center"
android:onClick="onClickLocate"
android:text="Locate"
tools:layout_editor_absoluteX="116dp"
tools:layout_editor_absoluteY="376dp" />
<ImageView
android:id="@+id/dot"
android:layout_width="78dp"
android:layout_height="53dp"
android:layout_marginTop="138dp"
app:srcCompat="@drawable/pin"
tools:layout_editor_absoluteX="121dp"
tools:layout_editor_absoluteY="134dp"
android:layout_below="@+id/btn_locate"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginLeft="33dp"
android:layout_marginStart="33dp" />
</RelativeLayout>
</android.support.constraint.ConstraintLayout>