2016-09-16 15:45:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-09-29 10:54:57 +00:00
|
|
|
<android.support.design.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"
|
|
|
|
tools:context=".MainActivityMapFragment">
|
2016-09-16 15:45:10 +00:00
|
|
|
|
2017-02-03 20:12:13 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2017-12-19 15:52:01 +00:00
|
|
|
<!-- OSM MAP -->
|
2017-02-03 20:12:13 +00:00
|
|
|
<org.osmdroid.views.MapView
|
|
|
|
android:id="@+id/track_map"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-12-19 15:52:01 +00:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2017-02-03 20:12:13 +00:00
|
|
|
android:contentDescription="@string/descr_map_last_track" />
|
|
|
|
|
2017-12-19 15:52:01 +00:00
|
|
|
<!-- OPTIONAL ONBOARDING -->
|
2017-02-17 08:58:37 +00:00
|
|
|
<include layout="@layout/fragment_main_track_onboarding" />
|
|
|
|
|
2017-12-19 15:52:01 +00:00
|
|
|
<!-- TRACK MANAGEMENT -->
|
|
|
|
<include layout="@layout/fragment_main_track_management" />
|
2017-02-03 20:12:13 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2016-09-29 10:54:57 +00:00
|
|
|
<!-- BOTTOM SHEET -->
|
|
|
|
<android.support.v4.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"
|
2016-12-05 14:10:24 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-12-19 15:52:01 +00:00
|
|
|
android:layout_gravity="center_horizontal"
|
2017-12-18 16:10:55 +00:00
|
|
|
android:background="@color/trackbook_white"
|
|
|
|
app:behavior_hideable="false"
|
2017-10-16 08:20:59 +00:00
|
|
|
app:behavior_peekHeight="112dp"
|
2016-09-29 10:54:57 +00:00
|
|
|
app:layout_behavior="android.support.design.widget.BottomSheetBehavior">
|
|
|
|
|
2017-01-20 12:34:37 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
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 -->
|
|
|
|
<include layout="@layout/fragment_main_track_statistics" />
|
2016-09-29 10:54:57 +00:00
|
|
|
|
2017-01-20 12:34:37 +00:00
|
|
|
</ScrollView>
|
|
|
|
|
2016-09-29 10:54:57 +00:00
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|