5,624 questions
1 vote
0 answers
56 views
Is it possible to create a custom cursor with page scrolling on mobile using JS? [closed]
I've tried to create a custom cursor for mobile devices, but when the page is scrollable, the custom cursor doesn't follow your finger properly or it drops frames. Has anyone succeeded in creating a ...
1 vote
1 answer
73 views
why my navbar animation is not smooth at the start of application
I just created some animation on my navbar. When i try to run it, i just wonder why the animation feels laggy at the start of application. And after some seconds, the animation start to feels smooth, ...
0 votes
0 answers
43 views
Shared element keeps going back to the top left grid square when using a container transform with shared element transitions
I'm working on a trivia game and I want the grid squares to go larger to show the full trivia question and buttons. I'm using a container transform and that works just fine except for one thing. All ...
0 votes
1 answer
67 views
RecyclerView Item move animation and strange behavior of on item click
I created a simple RecyclerView in Java and implemented item click handling in the adapter's onBindViewHolder method with this action that the clicked item moves to position 0. @Override public void ...
0 votes
0 answers
51 views
Why the content of webView shake when I change the height of the parent of the webview?
I am developing an Android project by java. First, I change the webView's parent view height to half of the screen. Then when user click a button, the webView's parent view will become full screen by ...
2 votes
1 answer
80 views
Cannot recognize "Modifier.sharedElement" in Jetpack Compose
I have already used imports and dependencies but there is two errors like this: > Unresolved reference 'sharedElement'. > Unresolved reference 'rememberSharedContentState'. and here is part of ...
1 vote
0 answers
54 views
mousePad app, issue calculating the right postions diff between mobile app and PC
I am building a mobile (client) app that can control the mouse on a PC (server). So I build a mobile app using expo that send the touches position to the server so I could control the mouse movement ...
3 votes
1 answer
274 views
Improving View.animate() performance on older Android versions
I'm developing an Android game that animates rectangular views moving horizontally across the screen using View.animate().translationX(...). The animation is just a plain rectangle moving left over a ...
0 votes
0 answers
16 views
Has Android changed how switch-activity anumations are handled?
I switch between activites a bunch in my app. I have an effect where an activity "slide in" on top of an existing one. example: public static void switchToActivity(Activity origin, Class<?...
3 votes
1 answer
136 views
Jetpack Compose - AnimatedVisibility slideInHorizontally Lazy Row Clipping Children
I have a LazyRow and I wanted to have a slideInHorizontally effect with a bounce effect. But, the child on the right is always clipped. I remembered back in the XML, you can easily just clipToBounds = ...
1 vote
0 answers
36 views
RecyclerView bitmap generation - stop Progressbar animation
I use this example to generate pdf file from recyclerview. I call the getScreenshotFromRecyclerView function inside doInBackground of an AsyncTask and the bitmap is generated successfully. The problem ...
1 vote
0 answers
51 views
Dynamic Fluid effect Background using Android java
I have been researching on how to recreate the background effect of Apple music and how it extracts colors and makes this dynamic slow moving fluid like with colors of extracted album art and animate ...
0 votes
0 answers
56 views
Why does app run from .apk behave differently than ran from Android Studio
I have an application that begins with an animation on Android. Whenever I run the app from Android Studio onto my phone, the animation appears and runs as expected. When I run the application after ...
1 vote
1 answer
168 views
Jetpack Compose sharedBounds inside CenterAlignedTopAppBar crashes on first screen with Uninitialized LayoutCoordinates error
I'm using SharedTransitionLayout in Jetpack Compose to animate elements across different screens. The issue occurs when I use Modifier.sharedBounds inside the title section of CenterAlignedTopAppBar. ✅...
0 votes
0 answers
27 views
How to make an android animator for the gif below?
I am trying to make an android animator that would replication the animation in this . I am new to android animation an do not know how to go about doing this. I have. Here is the code for one of the ...