android-animation Questions

2

Is there currently anything that will allow to animate classic transition between the results list and details screen with shared element animation in Jetpack Compose? Something like this. I know o...
Laissezfaire asked 21/11, 2022 at 9:23

6

Solved

I have a problem using AnimatedSplashScreen, everything works fine to the moment I add a pageTransitionType. Then I get an error: The following _CastError was thrown building AnimatedBuilder(anima...
Scorpion asked 2/9, 2021 at 23:16

8

Solved

I have been searching everywhere for a proper solution to my problem and I can't seem to find one yet. I have an ActionBar (ActionBarSherlock) with a menu that is inflated from an XML file and that...
Midstream asked 16/3, 2012 at 3:51

3

Solved

I have a TranslateAnimation on my class. The animation starts automatically. I set button that if it is clicked, the animation will be canceled (animation.cancel();). I also set an AnimationListe...
Hypolimnion asked 3/3, 2013 at 18:59

3

Effect what I want to achieve is to overlay enter (new) fragment above the exit(old) fragment, but when I am replacing old fragment by new fragment,the old one just vanishes and new fragment slide...

11

Solved

I have designed a simple layout.I have finished the design without animation, but now I want to add animations when textview click event and I don't know how to use it. Did my xml design looks good...
Hussite asked 17/3, 2014 at 12:54

2

I am using a LazyColumn in a checklist like style. The list shows all to-be-done items first and all done items last. Tapping on an item toggles whether it is done. Here is an MWE of what I am doin...
Traffic asked 3/12, 2022 at 17:16

6

Solved

I've created an application for Android, in which there is a NumberPicker. And I need to change the value of this NumberPicker but with a smooth animation like when you touch it and change its valu...
Lesson asked 21/11, 2012 at 19:40

5

Solved

How do I animate the RecyclerView when the items appear for first time and also when the user scrolls, just like the way it works for the google plus app or the google news stand app. Also I read ...
Ineffable asked 27/1, 2015 at 22:33

3

I'm using a device running on Android 5.0, the minSdk is 21 and the targetSdk is 22. App description I'm on an app with 2 activities, activity A contains a GridView with pictures and text and ac...

1

When I have my RecyclerView height as wrap_content, as below <android.support.v7.widget.RecyclerView android:id="@+id/myRecyclerView" android:layout_width="match_parent" android:layout_heigh...
Wildebeest asked 10/11, 2016 at 13:11

9

Solved

I want a to create a button that changes size (little bit smaller) when it's pressed, and after the button is released again the size should change back to normal size.I am using Scale xml to achie...

1

Solved

Initial State looks like this (animatedOffset = 0f) at 1f I want to get the reversed gradient: Current code: val transition = rememberInfiniteTransition(label = "NavIconGradientAnim") ...

7

I have android translate Animation. I have an ImageView with random generated position (next1, next2). I am calling void every 3 seconds. It generates new position of the View and then make animati...
Summersault asked 25/9, 2013 at 23:9

4

Solved

I inherited the following component which worked well with former versions of react-native, displaying an opaque scrolling progress bar on buttons displayed by other components. Recently, when I up...
Adellaadelle asked 20/9, 2020 at 6:39

5

In my application I use a bottom sheet (from the support library) which works great. Now I would like to animate a layout change while the sheet is dragged up. For this I have created a subclass of...
Gustatory asked 13/8, 2017 at 7:43

13

Solved

I push a fragment on the fragment stack using the following code: FragmentManager fragmentManager = getActivity().getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentMan...
Breslau asked 8/2, 2012 at 13:32

7

I am trying to rotate this image by using a thread. what should I do? public class Start extends Activity { View base; Bitmap rotate, base1, rotate1; ImageView rotator; float angle, pivX, pivY;...
Rayborn asked 29/1, 2014 at 11:51

15

Solved

I created an anim.xml file such as below to shake imageview like IOS icon shaking in android. However it does not provide me same result. Is there any better idea? <?xml version="1.0" encoding=...
Imhoff asked 25/2, 2012 at 22:36

4

I'm trying to implement a ToDo list that contains a list and some other views below it on the activity page. I am using a LinearLayout for the entire page and a RecyclerView for the list, alongsid...

3

Solved

Hopefully this is an easy question, but anyone know how to animate a composable's position based on alignment, for example from Alignment.Start to Alignment.End ?

1

How to make Rainbow border animation for box in compose, all the examples that I saw are for Circle and they use rotate with drawbehind, but what I really need is to make the same for a Box in comp...

6

Solved

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.vitesse); gpsManager = new GPSManager(); gpsManager.startListening(getApplication...
Amaras asked 22/2, 2013 at 9:56

6

Solved

I have a lottie animation file and when I put it in a view it becomes too small because of the file's internal padding. So I have used lottie_scale attribute in xml, and Also LottieComposition as m...
Satsuma asked 14/2, 2019 at 17:32

2

I'm trying to use the Jetpack Navigation component. The docs here talk about animating transitions. The example code uses the animations slide_in_right and slide_out_left and acts like they will be...
Goatee asked 15/7, 2020 at 20:39

© 2022 - 2025 — McMap. All rights reserved.