Questions tagged [layouttransition]
26 questions
1
vote
0 answers
LayoutTransition animation working for appear and dissappear, but not for change flags
I am using layout transition, to trigger some animations when i set views to View.GONE and View.VISIBLE.
it is working, there are 4 flags i am using to tell it what view to animate and when.
these are:
LayoutTransition.APPEARING-animate the view…

Michael Kent
- 383
- 3
- 17
1
vote
1 answer
LayoutTransition: 2 containers
I'm trying out an official example on LayoutTransition. I've modified it in order to have 2 containers. I add new items to 1'st (top) container with animation and the 2'nd (bottom) container moves down with slide animation, as expected.
But when I…

surlac
- 2,961
- 2
- 22
- 31
1
vote
0 answers
Why doesn't animateLayoutChanges raise a flag on API < 11
I have always used separate layout folders to support features available in newer API versions. One of these features is layout transition using animateLayoutChanges. For this, I create folders layout and layout-v11 and their landscape…

user3264740
- 231
- 1
- 2
- 13
0
votes
0 answers
Behaviour of LayoutTransition.CHANGING in ExpandableListView: animation is ok; but view is not clickable after the first click
I'm new to Android, and decided to practise with ExpandableListView.
The application is very basic ExpandableListView: taken from here:
https://startandroid.ru/ru/uroki/vse-uroki-spiskom/86-urok-45-spisok-derevo-expandablelistview.html
I try to…

Eugene Prott
- 1
- 1
0
votes
1 answer
How to set layoutTransition to animate correctly when item is removed from recycle view
I want the transition happens after item is removed from the list however when I remove the item transition happens earlier and it covers other items as shown in the GIF below.
my second issue is that when I use layoutTransition, when the fragment…

Amin Lotf
- 57
- 2
- 9
0
votes
0 answers
Animation of moving one view in place of another view
I'm trying to move one view with animation to another, but so far nothing works. I have two views in RelativeLayout and one view should replace the other as follows:
I try it but it doesnt work:
TranslateAnimation translateAnimation = new…

Orest Paliy
- 1
- 1
0
votes
2 answers
Android - LayoutTransition hides views inside the animated view before closing it
I have a LinearLayout that contains several views - when I add or remove it from my view I used the default LayoutTransition.
I'm adding the view to my AppbarLayout - and I added the animations programmatically by setting a new LayoutAnimation on…

Noa Drach
- 2,381
- 3
- 26
- 44
0
votes
1 answer
Android LinearLayout's children custom rendering animation
Here's the situation:
I have a LinearLayout containing vertically n CardView.
I want to customise the way it's rendered by adding animation on cards.
When the layout is rendered (maybe in onResume()) i want each card to slide from the bottom to the…

Mino
- 264
- 3
- 18
0
votes
1 answer
Get Animator for LayoutTransition from R.anim XML
I have been searching for a while and can't seem to find anything useful on this topic. Is it possible to set the animation for a LayoutTransition to an animation declared in XML? The default animation will fade the view being added or removed from…

cjbrooks12
- 1,368
- 1
- 13
- 25
0
votes
1 answer
Android LayoutTransition
I want to use the LayoutTransition class that it can achieve animation.But Eclipse tell me Call requires API level 11 (current min is 7). And I just want to call this API in Android2.1+. So, Here What way can be deal with it(such as the Open Sources…

soxfmr
- 58
- 7
0
votes
1 answer
SlidingPaneLayout - Animate similar to Android Hangouts app
I have implemented a SlidingPaneLayout with fragments that looks like this (summarizing)
…

bbedward
- 6,368
- 7
- 36
- 59