Linked Questions

10 votes
0 answers
40k views

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 ...
hackp0int's user avatar
  • 4,169
28 votes
6 answers
81k views

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 ...
Cheok Yan Cheng's user avatar
51 votes
5 answers
97k views

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 ...
piojo's user avatar
  • 1,929
44 votes
7 answers
48k views

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 ...
oberthelot's user avatar
  • 1,310
47 votes
3 answers
62k views

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:...
dor506's user avatar
  • 5,444
16 votes
2 answers
27k views

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 ...
Cheok Yan Cheng's user avatar
14 votes
3 answers
25k views

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 ...
user1125690's user avatar
14 votes
2 answers
28k views

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 ...
filol's user avatar
  • 1,691
15 votes
3 answers
9k views

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 ...
roiberg's user avatar
  • 13.7k
9 votes
7 answers
5k views

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 ...
woot's user avatar
  • 3,741
13 votes
3 answers
7k views

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 ...
Basic Coder's user avatar
  • 11.5k
7 votes
3 answers
15k views

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 ...
pjrki's user avatar
  • 248
12 votes
2 answers
13k views

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....
Kathi's user avatar
  • 1,071
8 votes
1 answer
11k views

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 ...
mohab elmahdy's user avatar
10 votes
1 answer
12k views

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 ...
Ferran Maylinch's user avatar

15 30 50 per page