Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

Visual Studio designing for Android, I have a motion_item_scene.xml where I am trying to control the animation speed: <?xml version="1.0" encoding="utf-8"?> <MotionScene ...
BinDev's user avatar
  • 811
0 votes
0 answers
29 views

I have next structure of xml file: <androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas....
Andrey Pyavkin's user avatar
1 vote
0 answers
30 views

I was learning how to use MotionLayout, but I got a problem that every time I change something like value or adding attributes, the layout preview was stuck and didn't update anything, I need to close ...
Wisnu's user avatar
  • 73
0 votes
1 answer
51 views

I recently enabled strict shrinker in my Android project to aggressively remove unused resources as described in the official documentation here https://developer.android.com/build/shrink-code#strict-...
kartollika's user avatar
0 votes
2 answers
76 views

I'm facing an issue with MotionLayout animations when my views are initially GONE and become VISIBLE after data loading. Current setup: All views are initially GONE in the XML layout After API ...
osj0524's user avatar
2 votes
0 answers
37 views

Now the animation works perfectly. But it’s a bit unsuitable for me, since when I scroll a vertical nestedscrollview, the toolbar_image immediately expands. How can we make it so that when we scroll ...
No Name's user avatar
  • 813
1 vote
0 answers
61 views

i am trying to create a list item in jetpack compose. here is what i have done so far: @OptIn(ExperimentalMotionApi::class) @Preview(showBackground = true) @Composable fun Item2MotionLayout(progress: ...
Ali Asjad's user avatar
  • 2,325
1 vote
1 answer
247 views

Currently my application uses SharedTransitionLayout to make an animation from the title of the SplashScreen and the toolbar of my application that also includes this title. This works perfectly, ...
Ludiras's user avatar
  • 554
0 votes
1 answer
114 views

I'm using version 1.0.1 of Motion Layout for Jetpack Compose alongside with compose bom 2024.02.01, material3 and a JSON5 motion scene, and when i try to do a simple use case such animating Text() ...
senem's user avatar
  • 9
0 votes
1 answer
37 views

I use MotionLayout to animate the selected gift card. The card itself is a CustomView with a TickerView and two TextViews inside. <?xml version="1.0" encoding="utf-8"?> <...
Igor Novikov's user avatar
1 vote
0 answers
101 views

I have created some animations with MotionLyout using the Android Studio design tool, so everything is under the layout xml and the scene xml files. In one transition I used the motion:...
Sca09's user avatar
  • 381
1 vote
0 answers
105 views

I'm using MotionLayout, and the heights of my components are defined in JSON5. Now, I have a requirement to change the height based on the screen size of different devices. So, I wrote a function to ...
Sharz's user avatar
  • 43
0 votes
1 answer
89 views

I'm encountering an issue with a simple Android layout containing a Button and a TextView. Initially, the TextView is hidden, and upon clicking the button, I set its visibility to VISIBLE and populate ...
Abdo21's user avatar
  • 1,673
0 votes
1 answer
446 views

I have a the following layout in a fragment Header Image ==================================== Tab 1. Tab2. Tab3. ==================================== Frag A. Frag B. ...
Beto's user avatar
  • 816
0 votes
1 answer
99 views

I am trying to set a touch listener to a cardView (which is also swipeable because of the motion layout) the problem is that if i return true in the OnTouchListener when the event.action == ...
Johan's user avatar
  • 69

15 30 50 per page
1
2 3 4 5
30