2016-09-16 15:45:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-04 09:13:19 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2016-09-16 15:45:10 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-09-29 10:54:57 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-09-16 15:45:10 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-09-29 10:54:57 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-01-02 17:00:37 +00:00
|
|
|
tools:context=".MainActivity">
|
2016-09-16 15:45:10 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
<!-- OSM MAP -->
|
2017-02-03 20:12:13 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
<!-- BOTTOM SHEET -->
|
2017-02-17 08:58:37 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
<org.osmdroid.views.MapView
|
|
|
|
android:id="@+id/map"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:contentDescription="@string/descr_map_last_track"
|
|
|
|
app:layout_anchor="@+id/map"
|
|
|
|
app:layout_anchorGravity="center">
|
2017-02-03 20:12:13 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
</org.osmdroid.views.MapView>
|
2017-02-03 20:12:13 +00:00
|
|
|
|
2018-11-04 09:13:19 +00:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2016-12-05 14:10:24 +00:00
|
|
|
android:id="@+id/statistics_sheet"
|
2017-01-20 12:34:37 +00:00
|
|
|
android:layout_width="@dimen/bottom_sheet_width"
|
2020-01-02 17:00:37 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-19 15:52:01 +00:00
|
|
|
android:layout_gravity="center_horizontal"
|
2020-01-02 17:00:37 +00:00
|
|
|
android:background="@drawable/shape_statistics_background_collapsed"
|
2017-12-18 16:10:55 +00:00
|
|
|
app:behavior_hideable="false"
|
2018-01-12 16:42:47 +00:00
|
|
|
app:behavior_peekHeight="54dp"
|
2018-11-04 09:13:19 +00:00
|
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
2016-09-29 10:54:57 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
<ScrollView
|
2016-09-29 10:54:57 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-01-20 12:34:37 +00:00
|
|
|
android:layout_height="match_parent">
|
2016-09-29 10:54:57 +00:00
|
|
|
|
2017-12-19 15:52:01 +00:00
|
|
|
<!-- STATISTICS -->
|
2018-04-30 15:02:53 +00:00
|
|
|
<include layout="@layout/track_statistics" />
|
2016-09-29 10:54:57 +00:00
|
|
|
|
2017-01-20 12:34:37 +00:00
|
|
|
</ScrollView>
|
|
|
|
|
2018-11-04 09:13:19 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2016-09-29 10:54:57 +00:00
|
|
|
|
2018-11-04 09:13:19 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|