Questions tagged [layout-animation]
66 questions
3
votes
0 answers
Toggle layout animations in React Native
I have layout animations properly configured as shown in all tutorials / documentation listed below. I'm currently setting the Layout Animation configurations in the componentWillUpdate method and triggering ON works smoothly,
componentWillUpdate()…

Nikolai Andryuschenko
- 31
- 1
- 4
3
votes
0 answers
React Native - Android LayoutAnimation keyboard FlatView Bug
I am currently having an annoying problem with (I think) LayoutAnimation.
My problem is the following, I have an app where I can search throughout my FlatList, with a search button I open the panel and get the focus on the TextInput which open the…

Clad Clad
- 2,653
- 1
- 20
- 32
2
votes
0 answers
Giftedchat using layoutAnimation for animating new messages
I've been trying to implement some animation for sending messages through GiftedChat but it's giving me quite abit of issues.
Can't seem to find any resources on this except for this…

Capsuie
- 21
- 1
2
votes
1 answer
MobX React replacement for componentWillReact() for triggering layout animations
It was once recommended to use componentWillReact() to trigger layout animations in response to changes in observable values, like so:
componentWillReact() {
LayoutAnimation.configureNext(LayoutAnimation.Presets.spring);
}
However,…

HolySamosa
- 9,011
- 14
- 69
- 102
2
votes
1 answer
react-native: LayoutAnimation and useNativeDriver: true for flex
In the past, I have used LayoutAnimation.scaleXY to animate the flex of a View at a very high framerate. Now, I want to use Animated to animate flex and achieve a similar high framerate.
I know I cannot use useNativeDriver: true to animate…

woodpav
- 1,917
- 2
- 13
- 26
2
votes
0 answers
startLayoutAnimation not work in onBackPressed or OnKeyListener(keyCode == KeyEvent.KEYCODE_BACK)
I have a LinearLayout View in my activity.
When I press back button I want LinearLayout's children to slide out.
I have the following code which doesn't do anything:
private void SlideOut()
{
LayoutAnimationController controller =
…

Andy
- 21
- 3
2
votes
1 answer
Is threre a list of available options for LayoutAnimation.Types and LayoutAnimation.Properties?
I have checked the documentation and as now it only says
create, config for animating in new views (see Anim type)
update, config for animating views that have been updated (see Anim type)
The fact is that i dont understand what Anim type is and…

jaycee
- 311
- 3
- 13
2
votes
1 answer
LayoutAnimationController not working when hiding View Group but works when Showing view group
LayoutAnimationController is used to animate children of view group
I used LayoutAnimationController to show elements in LinearLayout with animation effect one by one using following code.
Animation fadeIn =…

DeltaCap019
- 6,532
- 3
- 48
- 70
2
votes
2 answers
Animating ListView row deletions with React Native LayoutAnimation
I'm having difficulty animating the deletion of a row from ListView using LayoutAnimation.
Since LayoutAnimation.spring preset animation handles view updates with a spring and view creations with a fade, I expected the bottom existing rows to…

talkol
- 12,564
- 11
- 54
- 64
2
votes
0 answers
RecyclerView Expanded Item shadow / elevation
Edit:
In my Recyclerview the itemViews can expand and collapse.
The expandView is a layout which gets inserted under the clickedItemPosition. Everything works fine, but in following to the Google Material Design Guide-Lines the expanded items should…

Sebastian
- 408
- 1
- 6
- 11
2
votes
1 answer
Animate when layout change occurs
In my android application activity layout I have a LinearLayout and RecyclerView, LinearLayout contains an EditText and TextField , and RecyclerView lies below the LinearLayout.

droidev
- 7,352
- 11
- 62
- 94
2
votes
2 answers
Android - Background reset after show/hide views with animation
I am showing and hiding views on a particular actions using some animation, I used LayoutTransition and it seems to work fine except one thing, while the animation is going, the background of some TextViews changes and reset to the default white…

mzyoussif
- 21
- 6
1
vote
1 answer
Animating StaticLayout
For a live wallpaper project, I am using a StaticLayout on a canvas to draw some text. I intend to use alpha animation to fade out the text but all the examples I have come across on the net and on SO are for animating views.
As I do not use…

GreenBee
- 3,101
- 3
- 19
- 18
1
vote
3 answers
How can I start layoutAnimation when(before) leaving an activity
I have a LinearLayout View in my activity.
When I press back button I want LinearLayout's children to slide out.
I have the following code which doesn't do anything:
private void SlideOut()
{
LayoutAnimationController controller =…

Ionica
- 139
- 3
- 13
1
vote
1 answer
Slide in Animation on webview data
I am showing a description like data which I am showing in webview &
when uesr click on next I am changing webview data now I want to show some kind of slide in animation while changing webview's data can anyone suggest me how I can set animation…

Sandip Jadhav
- 7,377
- 8
- 44
- 76