animation - Pull Down Map Android - Facebook Effect -


i working on prototype have 2 fragments in linearlayout.

here xml looks like:

<linearlayout         android:orientation="vertical"         android:layout_width="fill_parent"         android:layout_height="fill_parent">      <framelayout         android:id="@+id/map_holder"         android:layout_width="match_parent"         android:layout_height="0dp"         android:layout_above="@id/footer"         android:layout_weight=".30"             >     </framelayout>      <framelayout         android:id="@+id/list_holder"         android:layout_width="match_parent"         android:layout_height="0dp"         android:layout_above="@id/footer"         android:layout_weight=".70"             >     </framelayout>  </linearlayout> 

the top fragment map fragment , bottom fragment list of items. trying expand map when user clicks on fragment. height changes .3 1. have tried animate , change height of fragment, gives horrible performance. have looked around , found facebook nearby places effect smoothly. should using scaleanimation class this? thank help.

edit: foursquare has same type of effect. when click on map scales smoothly fullscreen have attached screen shot.

here example of looks like: http://im.tech2.in.com/gallery/2013/apr/foursquareforandroid_041425247544_640x360.jpg


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -