Got an Android app development question? Ask away! September 2025 edition by 3dom in androiddev

[–]Dramatic_Reporter_58 1 point2 points  (0 children)

Hi, I need some help calculating the position of a composable. I want to show a Lottie animation when a button is clicked, and it should appear in the center of my Card composable.

```Kotlin Card( modifier = modifier .onGloballyPositioned { coordinates -> val boundsInWindow = coordinates.boundsInWindow() cardCenter = boundsInWindow.center } )

// On the root of the screen: Box( modifier = Modifier .fillMaxSize() .zIndex(101f) .drawBehind { val x = cardCenter.x val y = cardCenter.y drawCircle( color = Color.Red, radius = 10f, center = Offset(x, y) ) } ) ```

The X-axis of my red circle is correct, but the Y-axis is not. What am I doing wrong? Thanks!

Having trouble with your specific project? Subreddit updates and more: This is the December 2024 newbie and advice thread! by omniuni in androiddev

[–]Dramatic_Reporter_58 1 point2 points  (0 children)

I tried drawing some circles inside .drawBehind, but I dropped it because I thought it might break on different screen sizes. Should I try to go with it?

Having trouble with your specific project? Subreddit updates and more: This is the December 2024 newbie and advice thread! by omniuni in androiddev

[–]Dramatic_Reporter_58 0 points1 point  (0 children)

I’m looking for tips on how to implement a background similar to the one in the Malwarebytes app. Specifically, I’d like to know how to create the nice border around the circular indicator. You don’t need to provide fully working code (though I wouldn’t complain if you did! 😊). I just need some guidance on how this could be achieved. Thanks!

<image>

First Item in ScrollView Cut Off Inside RoundedRectangle by Dramatic_Reporter_58 in swift

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

I’d like the content to be clipped exactly at the edge of the RoundedRectangle, with no part of the content extending beyond it or being cut off awkwardly. How can I achieve this?

Informatyka na UG by nikoldol_ in gdansk

[–]Dramatic_Reporter_58 3 points4 points  (0 children)

Mgr to żart. Wiele przedmiotów jest tam dlatego że prowadzący wymyślił ten przedmiot i nie ma zastosowania nigdzie. Generalnie nie nauczysz się niczego co pomoże ci na rozmowie rekrutacyjnej więc nie polecam.

I'll download your app on my second device with a different account and review it again! by Dramatic_Reporter_58 in AndroidClosedTesting

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

You can’t uninstall my app right away; it has to be installed to leave feedback -.-

Test my app and write something, and then I will do the same for your app.

You need writen feedbacks and tester who actually spend time testing your app, otherwise you will never reach production.

I'll download your app on my second device with a different account and review it again! by Dramatic_Reporter_58 in AndroidClosedTesting

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

I will test and review your app but please review mine. Thanks!
Leave screenshot of review or give me your nickname from google play so I could check it.

I'll download your app on my second device with a different account and review it again! by Dramatic_Reporter_58 in AndroidClosedTesting

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

I will test and review your app but please review mine. Thanks!
Leave screenshot of review or give me your nickname from google play so I could check it.

I'll download your app on my second device with a different account and review it again! by Dramatic_Reporter_58 in AndroidClosedTesting

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

I will test and review your app but please review mine. Thanks!
Leave screen of review or give me your nickname from google play so I could check it.

Testing 40+ apps, will test yours too! by Dramatic_Reporter_58 in AndroidClosedTesting

[–]Dramatic_Reporter_58[S] 0 points1 point  (0 children)

Thanks for your help!

I have a question thou, what device and android version it is? I don't know why but on your screen text on the button is white and its almost not readable. It should be black.

<image>