|
@@ -19,22 +19,7 @@
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="right|bottom"
|
|
|
- android:layout_marginBottom="280dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
-
|
|
|
- android:id="@+id/iv_location"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_margin="15dp"
|
|
|
- android:background="@drawable/icon_current" />
|
|
|
- </FrameLayout>
|
|
|
+
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/bottom_sheet"
|
|
@@ -44,22 +29,36 @@
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
app:behavior_hideable="true"
|
|
|
- app:behavior_middleHeight="300dp"
|
|
|
+ app:behavior_middleHeight="400dp"
|
|
|
|
|
|
- app:behavior_peekHeight="300dp"
|
|
|
+ app:behavior_peekHeight="200dp"
|
|
|
app:layout_behavior=".utils.GaoDeBottomSheetBehavior">
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:id="@+id/iv_location"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:background="@drawable/icon_current" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/layout_bottom_sheet"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:background="@drawable/icon_xia"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/layout_bottom_sheet"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:background="@drawable/icon_xia"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|