SlideUpPane library

A slide up panel for Android that mimics the behavior of the Google Maps application

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

com.briangriffey
ArtifactId

ArtifactId

slideuppane
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

aar
Description

Description

SlideUpPane library
A slide up panel for Android that mimics the behavior of the Google Maps application
Project URL

Project URL

https://github.com/briangriffey/slideuppane
Source Code Management

Source Code Management

https://github.com/briangriffey/slideuppane

Download slideuppane

How to add to project

<!-- https://jarcasting.com/artifacts/com.briangriffey/slideuppane/ -->
<dependency>
    <groupId>com.briangriffey</groupId>
    <artifactId>slideuppane</artifactId>
    <version>1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.briangriffey/slideuppane/
implementation 'com.briangriffey:slideuppane:1.0'
// https://jarcasting.com/artifacts/com.briangriffey/slideuppane/
implementation ("com.briangriffey:slideuppane:1.0")
'com.briangriffey:slideuppane:aar:1.0'
<dependency org="com.briangriffey" name="slideuppane" rev="1.0">
  <artifact name="slideuppane" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.briangriffey', module='slideuppane', version='1.0')
)
libraryDependencies += "com.briangriffey" % "slideuppane" % "1.0"
[com.briangriffey/slideuppane "1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » support-v4 jar 19.0.0

Project Modules

There are no modules declared in this project.

Slide Up Pane

##Introduction This is a UI component that closely simulates the bottom UI component of the current Google Maps application, except bouncier. It allows a panel to be placed at the bottom of the screen that a user can pull up over the view above it. Intermediate stops can also be added so that it has "sticky" points along the path.

##Installation Make sure maven central is in your repository list then simply include the dependency.

dependencies {
    compile "com.briangriffey:slideuppane:1.0@aar"
}

##Usage SlideUpPane can be added to any container. It will slide over any other components placed in that container.

For example:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.example.example.MainActivity"
    tools:ignore="MergeRootFrame">

    <View
        android:layout_width="match_parent"
        android:layout_height="350dp"
        />

    <com.briangriffey.slideuppane.SlideUpPane
        android:id="@+id/pane"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/holo_orange_light">
          
           <Button
            android:text="some button"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Sint synth gastropub, assumenda shabby chic occaecat organic banjo cupidatat Odd Future voluptate Shoreditch YOLO. Bitters Echo Park pariatur aliqua quis, aute Brooklyn Intelligentsia umami. Meh quis Odd Future raw denim viral, literally sustainable hoodie freegan elit swag nostrud. Skateboard readymade deep v. Shabby chic freegan raw denim, ullamco semiotics before they sold out gentrify food truck adipisicing synth PBR cred consectetur artisan. Craft beer DIY occaecat, aliquip irony forage Godard placeat master cleanse Pitchfork sint small batch YOLO officia. Fashion axe labore YOLO id.

Odio roof party drinking vinegar wolf post-ironic. Id aliquip in, post-ironic occupy veniam fap organic readymade. Thundercats brunch plaid occaecat exercitation. Letterpress jean shorts tousled freegan, do tempor sartorial nisi Tumblr keytar banjo roof party aliquip bicycle rights. Ennui cred next level Godard id banh mi. Plaid Schlitz High Life literally 90's. Nihil reprehenderit hoodie, duis Tumblr qui craft beer.

Pickled single-origin coffee mumblecore yr eiusmod four loko, pour-over tote bag meggings asymmetrical whatever. Minim do shabby chic sunt. Deserunt Tumblr lomo, fugiat leggings YOLO eu Helvetica odio labore you probably haven't heard of them scenester kogi hoodie cornhole. Butcher elit plaid, ea eiusmod fashion axe aliquip incididunt ad commodo bitters skateboard hella next level. Laborum chambray jean shorts farm-to-table, eu XOXO cray Williamsburg McSweeney's brunch do kale chips. Ea commodo tempor, mustache aliqua sustainable lo-fi vinyl blog beard qui butcher. Gastropub Pitchfork excepteur, Schlitz raw denim non tofu polaroid laboris sapiente try-hard consectetur." />

    </com.briangriffey.slideuppane.SlideUpPane>


</LinearLayout>

The SlideUpPane extends a LinearLayout with a vertical orientation, so any components added to it will follow that convention.

##Demo The video demos the pane with a 50% stop added http://www.youtube.com/watch?v=FU4dkbuxNQ0

Versions

Version
1.0