Bimba.git

ref: motis2_journeys

app/src/main/res/layout/activity_journeys.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
<?xml version="1.0" encoding="utf-8"?><!--
SPDX-FileCopyrightText: Adam Evyčędo

SPDX-License-Identifier: GPL-3.0-or-later
-->
<androidx.coordinatorlayout.widget.CoordinatorLayout 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=".journeys.JourneysActivity">

	<org.osmdroid.views.MapView
		android:id="@+id/map"
		android:layout_width="match_parent"
		android:layout_height="match_parent" />

	<androidx.constraintlayout.widget.ConstraintLayout
		app:behavior_hideable="false"
		android:id="@+id/journeys_bottom_sheet"
		style="@style/Widget.Material3.BottomSheet"
		android:layout_width="match_parent"
		android:layout_height="640dp"
		app:behavior_peekHeight="256dp"
		app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">

		<com.google.android.material.bottomsheet.BottomSheetDragHandleView
			android:id="@+id/drag_handle"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			app:layout_constraintEnd_toEndOf="parent"
			app:layout_constraintStart_toStartOf="parent"
			app:layout_constraintTop_toTopOf="parent" />

		<androidx.recyclerview.widget.RecyclerView
			android:id="@+id/journeys"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:clipToPadding="false"
			app:layout_behavior="@string/appbar_scrolling_view_behavior"
			app:layout_constraintTop_toBottomOf="@+id/drag_handle" />
	</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.coordinatorlayout.widget.CoordinatorLayout>