Linked Questions
51 questions linked to/from Android: Expand/collapse animation
10 votes
0 answers
40k views
How to make expandable panel layout in android? [duplicate]
I have very complex layout to do in android ? I need two panels the if one expanded the other is extended and otherwise, i would like to make a behavior like slidingdrawer but because i can have in ...
28 votes
6 answers
81k views
How to achieve smooth expand/collapse animation
I'm referring the expand / collapse animation code found here. Android: Expand/collapse animation Although it works, it doesn't do the job well. The animation isn't smooth. I do some logging in the ...
51 votes
5 answers
97k views
How to expand a layout height with animation?
I couldn't find a good example for how to do this. I have a RelativeLayout set with x height. I want to add a button which expands the height to x+y height. can someone refer me to a good example ...
44 votes
7 answers
48k views
Android getMeasuredHeight returns wrong values !
I'm trying to determine the real dimension in pixels of some UI elements ! Those elements are inflated from a .xml file and are initialized with dip width and height so that the GUI will eventually ...
47 votes
3 answers
62k views
Resizing layouts programmatically (as animation)
I want to resize some layouts in my Activity. Here is the code of the main XML: <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:...
16 votes
2 answers
27k views
Accurate way to determine the measured height of a view, even before it changed from GONE to VISIBLE
Currently, I have a layout which looks like this. It contains. Title text view, and Price text view, which is visible always. Description Text View, which can be visible or gone, depending expanding ...
14 votes
3 answers
25k views
In android how to make a image grow from one point using animation?
In android how to make a image grow from one point using animation? I mean to say is...i have a button ..and i want is when i click on that button my image must grow(ascending order) to grow bigger ...
14 votes
2 answers
28k views
Expand/collapse animation in CardView
I try to do something like this : I managed to do my cardViewAdapter but I block to enlarge my cards. I resumed the code of this response (Here the name of the class is : CardsAnimationHelper) to do ...
15 votes
3 answers
9k views
Custom android AccelerateDecelerateInterpolator
I am trying to use AccelerateDecelerateInterpolator and custom it. I can see that Interpolators like DecelerateInterpolator have a "factor" field so you can change its behaviors. but ...
9 votes
7 answers
5k views
Choreographer NullPointerException
I've been working on an existing codebase for a while and from browsing our crash log service I've noticed an exception that happens pretty frequently, I am not able to reproduce this issue, nor do I ...
13 votes
3 answers
7k views
ListView animate single item
I got a ListView with items in it. When the user clicks an item it's height should scale to zero and all items below should scroll up. My code below doesnt work. With my code the item which was ...
7 votes
3 answers
15k views
Android expand/collapse RelativeLayout
I've tried various solutions from this topic (see. Android: Expand/collapse animation ) and none of them really worked for me. I'm sure that the most voted ones are good and the reason that it won't ...
12 votes
2 answers
13k views
View Animations in Android Collapse/Expand Views in LinearLayout
I added Images view dynamically to my Linear layout, I want to achieve Here is sample code what I have done MainActivity package ksp.com.animationssample; import android.support.v7.app....
8 votes
1 answer
11k views
expanding recyclerview item
if i expand any item in the recyclerview it expands fine but when i scroll down the recylerview i found other items also expanded , due to recycling it took the expanded size not the original one ...
10 votes
1 answer
12k views
Android: add view with expand animation (without blinking)
I want to add a view to a view group using an expanding animation, so the added view starts very small and takes more and more space until it reaches its full size (probably moving other views in the ...