fragment_coll_race_detail.xml 5.06 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">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <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="250dp"
            sothree:umanoParallaxOffset="0dp"
            sothree:umanoScrollableView="@+id/rv_list"
            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>
                <!--地图上面加一层类似于全透明黑色蒙版-->
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="#0D000000"
                    android:clickable="false"
                    android:focusable="false"
                    android:focusableInTouchMode="false"></LinearLayout>

                <FrameLayout
                    android:id="@+id/fl_back"
                    android:layout_width="55dp"
                    android:layout_height="55dp"
                    android:background="@drawable/button_fab_white"
                    android:focusable="true">

                    <ImageView
                        android:layout_width="12dp"
                        android:layout_height="20dp"
                        android:layout_gravity="center"
                        android:layout_marginLeft="-2dp"
                        android:background="@drawable/icon_back"
                        android:focusable="false" />
                </FrameLayout>

                <FrameLayout
                    android:layout_width="55dp"
                    android:layout_height="55dp"
                    android:layout_gravity="right"
                    android:background="@drawable/button_fab_white"
                    android:focusable="true"
                    android:visibility="gone">

                    <ImageView
                        android:layout_width="19dp"
                        android:layout_height="18dp"
                        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">


                <LinearLayout
                    android:id="@+id/ll_root"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="40dp"
                    android:orientation="vertical">


                    <!--用户个人信息-->
                    <include
                        android:id="@+id/include_finish_user_info"
                        layout="@layout/layout_coll_finish_user_info" />
                </LinearLayout>


            </FrameLayout>
        </com.sothree.slidinguppanel.SlidingUpPanelLayout>
        <!--按钮-->
        <LinearLayout
            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:clickable="true"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="center"
            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:layout_marginLeft="5dp"
                android:clickable="false"
                android:focusable="false"
                android:focusableInTouchMode="false"
                android:tag="0"
                android:text="绑定轨迹"
                android:textColor="@color/white"
                android:textSize="18sp" />
        </LinearLayout>
    </FrameLayout>
</layout>