I'm trying to make an layout like the pull up menu (see pictures) in google maps, where I can pull up and see more details about a point on the map from the bottom of the screen.
I am currently pulling a side view using a DrawerLayout,
But I would use the same layout as google maps. Here is some images: http://imgur.com/a/kuSKu#0
Also, here is the code which I used in my main activity right now:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MapActivity"
tools:ignore="MergeRootFrame">
<fragment
android:id="@+id/main_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:name="neocom.dealerbook.MapFragment"
tools:layout="@layout/fragment_map" />
<fragment android:id="@+id/side_panel"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:dividerHeight="0dp"
android:name="neocom.dealerbook.SideBarFragment"
tools:layout="@layout/side_bar"/>
</android.support.v4.widget.DrawerLayout>
The area itself needs to have robust Street View support; if it's available, you'll see a "Live View" option at the bottom of your screen when you search for walking directions. If you don't have AR view yet, find the blue dot on Google Maps and tilt your phone in the direction you're about to walk.
When finding directions on the desktop version of Maps, you can maneuver your route to go through or away from specific locations via drag and drop. Just click and drag any part of your direction route to move around (this only works with directions for walking, driving, or biking—it won't work with any mass transit options).
You’ll be able to see the crawler working in the Chrome window. We’ll make sure that any change on the Google Maps website affecting this tool's functionality will be updated in our software ASAP, so you can continue using it seamlessly and without any issue.
Just click and drag any part of your direction route to move around (this only works with directions for walking, driving, or biking—it won't work with any mass transit options). To get to where you're going, you can type in your destination address.
Now we can use Design Support Library: Bottom Sheets from Android Support Library 23.2 !
This one did everything that I need AndroidSlidingUpPanel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With