Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
2 votes
0 answers
60 views

why are all the lines (not just the last line of the paragraph) aligned to the left on a real device, while on a virtual device they are aligned to the width of the screen except for the last one (as ...
Apeva's user avatar
  • 56
0 votes
1 answer
80 views

I’m building a chat screen in Jetpack Compose similar to WhatsApp, with a LazyColumn for messages and a message input field anchored at the bottom. I’m facing two related issues with the message input:...
kuu huu's user avatar
1 vote
1 answer
163 views

Hello everyone, I am experiencing a persistent crash in my Jetpack Compose project while using Coil (AsyncImage) inside a LazyColumn. The data is being observed from a remote service via Flow. The ...
Canturk Karabulut's user avatar
2 votes
1 answer
127 views

Is this behaviour a bug with the experimental material3 features on Android 16? When the app is portrait mode everything works correctly on Android 15 and 16. When the app is in landscape mode Android ...
Andrew's user avatar
  • 10.6k
Advice
0 votes
0 replies
56 views

I already know that you can use AndroidView in compose to achieve this goal, but what I'm thinking is how to wrap the interface so that the calling object of the interface is composable. Like this: ...
user24538401's user avatar
0 votes
0 answers
31 views

I've got a Windows Desktop Application in Jetpack Compose and sometimes when I manage to break my code and refresh the preview, the preview engine immediately shows an error, as it should. However, ...
t3chb0t's user avatar
  • 19.4k
Tooling
0 votes
2 replies
83 views

Currently, i am using windowManager.addView() to add accessibility overlay to display. How do i use attachAccessibilityOverlayToWindow(int accessibilityWindowId, android.view.SurfaceControl sc) to add ...
Sarangem's user avatar
1 vote
1 answer
112 views

I am trying to implement a custom Jetpack Compose Dialog that contains two elements with their own anchored DropdownMenu: A Header Row with a downward icon that should trigger a menu when clicked. ...
Wisal Muhammad's user avatar
Advice
0 votes
1 replies
98 views

I am writing unit tests for my Android MVVM app. The repository fetches users from an API and stores them in a Room database. If the API fails, it loads cached users from the database. I wrote the ...
Mits Patel's user avatar
Best practices
0 votes
0 replies
81 views

I got the following Android UI-code: OutlinedTextField(value = mainVM.srcAmount.doubleValue.toString(), onValueChange = { // Implicit generated argument 'it' is a String. mainVM.setAmount(...
mewi's user avatar
  • 855
0 votes
2 answers
89 views

My initial goal was to use gradiant to transition smoothly my picture into the background. Using gradiant, I have a one pixel lign that breaks the natural transition to the rest of the card. The line ...
AdrienM's user avatar
  • 105
0 votes
1 answer
125 views

I have an old project from around 2023 and I decided to upgrade all dependencies, Gradle and AGP. After fixing Gradle error("targetjvm is deprecated"), my app crashes after tapping at ...
EnGold's user avatar
  • 13
Advice
0 votes
0 replies
45 views

This is the element I'm trying to recreate There's it's wider version As far as I get it, this element consists of something like: Column { FlowRow{Chat1, Chat2, Chat3} ...
Евгений Алексеев's user avatar
0 votes
1 answer
72 views

I'm using Androidx Navigation as a router in my app, whereas I have a bunch of different routes, and one has some arguments of the shape: route?$sectionArg={$sectionArg}&itemId={$itemId}. For ...
Akronix's user avatar
  • 2,235
3 votes
1 answer
111 views

I am currently facing a performance issue while testing my Android TV application. When I configure a 2x2 grid layout and play local videos (approximately 1 GB each) from the device storage, the ...
Chahat Gupta's user avatar

15 30 50 per page
1
2 3 4 5
952