fragment_finish_run_map.xml 4.59 KB
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/res-auto"
        android:id="@+id/sliding_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="bottom"
        sothree:umanoDragView="@+id/dragView"
        sothree:umanoFadeColor="@color/black_20"
        sothree:umanoOverlay="true"
        sothree:umanoPanelHeight="220dp"
        sothree:umanoParallaxOffset="100dp"
        sothree:umanoScrollableView="@+id/scrollView"
        sothree:umanoShadowHeight="0dp">

        <!-- MAIN CONTENT -->
        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <com.baidu.mapapi.map.MapView
                android:id="@+id/mapView"
                android:layout_width="match_parent"
                android:layout_height="match_parent"></com.baidu.mapapi.map.MapView>

            <FrameLayout
                android:layout_width="40dp"
                android:layout_height="40dp"
                android:layout_margin="10dp"
                android:background="@drawable/shape_circle_50_black">

                <ImageView
                    android:layout_width="10dp"
                    android:layout_height="20dp"
                    android:layout_gravity="center"
                    android:background="@drawable/ic_white_back" />
            </FrameLayout>

            <FrameLayout
                android:layout_width="40dp"
                android:layout_height="40dp"
                android:layout_gravity="right"
                android:layout_margin="10dp"
                android:background="@drawable/shape_circle_50_black">

                <ImageView
                    android:layout_width="15dp"
                    android:layout_height="15dp"
                    android:layout_gravity="center"
                    android:background="@drawable/icon_share" />
            </FrameLayout>
            <!---->


        </FrameLayout>

        <!-- SLIDING LAYOUT -->
        <FrameLayout
            android:id="@+id/dragView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clickable="true"
            android:focusable="false"
            android:orientation="vertical">

            <ScrollView
                android:id="@+id/scrollView"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="60dp"
                android:scrollbars="none">

                <LinearLayout
                    android:id="@+id/ll_root"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">
                    <!--用户个人信息-->
                    <include
                        android:id="@+id/include_finish_user_info"
                        layout="@layout/layout_finish_user_info" />
                    <!--总步数-->
                    <include
                        android:id="@+id/include_finish_step"
                        layout="@layout/layout_finish_step"
                        android:visibility="visible" />
                    <!--跑步路线-->
                    <include
                        android:id="@+id/include_finish_run_route"
                        layout="@layout/layout_finish_running_route"
                        android:visibility="visible" />
                </LinearLayout>

            </ScrollView>
            <!--按钮-->
            <RelativeLayout
                android:id="@+id/rl_scrollView_startBtn"
                android:layout_width="match_parent"
                android:layout_height="40sp"
                android:layout_gravity="bottom"
                android:background="@color/green_round"
                android:tag="0">

                <TextView
                    android:id="@+id/tv_run_now"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:tag="0"
                    android:text="保存中"
                    android:textColor="@color/white"
                    android:textSize="18sp" />


            </RelativeLayout>
        </FrameLayout>
    </com.sothree.slidinguppanel.SlidingUpPanelLayout>


</layout>