53 lines
No EOL
1.9 KiB
XML
53 lines
No EOL
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.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=".MainActivityMapFragment">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!-- OSM MAP -->
|
|
<org.osmdroid.views.MapView
|
|
android:id="@+id/track_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" />
|
|
|
|
<!-- OPTIONAL ONBOARDING -->
|
|
<include layout="@layout/track_onboarding" />
|
|
|
|
<!-- TRACK MANAGEMENT -->
|
|
<include layout="@layout/track_management" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- BOTTOM SHEET -->
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:id="@+id/statistics_sheet"
|
|
android:layout_width="@dimen/bottom_sheet_width"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@color/statistic_sheet_background_collapsed"
|
|
app:behavior_hideable="false"
|
|
app:behavior_peekHeight="54dp"
|
|
app:layout_behavior="android.support.design.widget.BottomSheetBehavior">
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!-- STATISTICS -->
|
|
<include layout="@layout/track_statistics" />
|
|
|
|
</ScrollView>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |