-
Notifications
You must be signed in to change notification settings - Fork 320
Expand file tree
/
Copy pathlayout_activity_routeline_example.xml
More file actions
67 lines (60 loc) · 2.58 KB
/
layout_activity_routeline_example.xml
File metadata and controls
67 lines (60 loc) · 2.58 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
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mapbox.maps.MapView
android:id="@+id/mapView"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/startNavigation"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:background="@color/colorPrimary"
android:text="@string/label_start_navigation"
android:textColor="@android:color/white"
android:visibility="gone" />
<RadioGroup
android:id="@+id/optionTrafficGradient"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:orientation="horizontal"
android:background="#ffffff"
android:padding="8dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:text="Traffic Gradient: "/>
<RadioButton
android:id="@+id/gradientOptionHard"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="Hard"/>
<RadioButton
android:id="@+id/gradientOptionSoft"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Soft"/>
</RadioGroup>
<ProgressBar
android:id="@+id/routeLoadingProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="invisible"/>
</androidx.constraintlayout.widget.ConstraintLayout>