android - Slow down animation in AndroidSlidingUpPanel -


i trying use androidslidinguppanel library. want change slowing down animation when click view dragview. default expands or collapse dragview fast. can slow down? there way make fast , slow readched end?

reference library link: https://github.com/umano/androidslidinguppanel

following xml layout.

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".demoactivity" >      <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:panelheight="68dp"         sothree:shadowheight="4dp"         sothree:paralaxoffset="100dp"         sothree:dragview="@+id/dragview">          <!-- main content -->         <linearlayout             android:layout_width="match_parent"             android:layout_height="match_parent"             android:paddingtop="?android:attr/actionbarsize">             <textview                 android:id="@+id/main"                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:gravity="center"                 android:text="main content"                 android:clickable="true"                 android:focusable="false"                 android:focusableintouchmode="true"                 android:textsize="16sp" />         </linearlayout>          <!-- sliding layout -->          <relativelayout             android:id="@+id/dragview"             android:layout_width="match_parent"             android:layout_height="match_parent"             android:background="#eeeeee"             android:clickable="true"             android:focusable="false"             android:orientation="vertical" >              <imageview                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:layout_weight="1"                 android:scaletype="fitstart"                 android:src="@drawable/graphic" >             </imageview>              <linearlayout                 android:id="@+id/ll_demo"                 android:layout_width="match_parent"                 android:layout_height="68dp"                 android:orientation="horizontal"                  android:background="#ffffff">                  <textview                     android:id="@+id/name"                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"                     android:gravity="center_vertical"                     android:paddingleft="10dp"                     android:textsize="14sp" />                  <button                     android:id="@+id/follow"                     android:layout_width="wrap_content"                     android:layout_height="match_parent"                     android:gravity="center_vertical|right"                     android:paddingleft="10dp"                     android:paddingright="10dp"                     android:textsize="14sp" />             </linearlayout>         </relativelayout>      </com.sothree.slidinguppanel.slidinguppanellayout>  </relativelayout> 


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -