Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
1 vote
1 answer
50 views

Justify Jetpack Compose

I have started taking training courses at developer.android.com. I can't figure out why TextAlign.Justify doesn't work. There's my code class MainActivity : ComponentActivity() { override fun ...
Atread's user avatar
  • 11
0 votes
0 answers
24 views

How to remove overlapping of sheet content and navigation bar in bottomsheet scaffold?

I want to remove the overlapping between sheet content and navigation bar of a bottom sheet scaffold. This is the a clip of the output: This is my Code Sample : val sheetState = ...
A. Bantero's user avatar
0 votes
0 answers
25 views

How to make common dropdown for two TextFields in Jetpack Compose?

I want to make common dropdown for two TextField. I have manage to do something like following. But there is a problem with focusing. When I click again on the second TextField to open dropdown, it ...
Surendra's user avatar
0 votes
0 answers
23 views

MPAndroidChart real-time plot glitch when updating entries with static viewport and live cursor

I am developing a real-time BLE audio application on Android. The audio sampling rate is 16,000 samples per second, and I receive data in 100 packets per second, each packet having 160 samples (so ...
Shriharan's user avatar
1 vote
1 answer
39 views

Compose LazyColumn vs Column padding differs

When using the LazyColumn the navigation bar presents a translucent style, when using Box or a Column the navigation bar appears to be opaque, why is this difference? Shouldn't the navigation bar be ...
David's user avatar
  • 4,877
2 votes
1 answer
44 views

Add a trailing icon in a Text to wrap with the content

I want to add an icon Icon at the end of some Text (not a TextField) and have them wrap together when there is not enough space. They are considered as two separate entities and arranged by the ...
Kyso84's user avatar
  • 1,745
0 votes
0 answers
43 views

why is the hilt module not binding the interface and implementation? [closed]

I have a web layer (LoginWebLayer) calling the api. it is very simple, one method overidden from its interface. @Singleton class LoginWebLayer @Inject constructor( authDataStore: AuthDataStore, ...
sparkJ's user avatar
  • 347
1 vote
0 answers
47 views

AsyncImage not loading image, error with 'unimplemented'

I have been trying to separate out tasks because OpenAI can take some time to generate images, so I have a page that allows you to input items and it will build a recipe for you. I originally had it ...
Neglected Sanity's user avatar
4 votes
1 answer
75 views

Jetpack Compose FloatingActionButton shadow disappears or gets clipped during visibility animation

I'm using Jetpack Compose to animate a FloatingActionButton that hides when the user scrolls down and reappears when scrolling up. To animate the FAB, I use AnimatedVisibility with fadeIn/fadeOut and ...
Mohammad's user avatar
0 votes
0 answers
62 views

absolute positioned element in Jetpack Compose

In CSS, we have absolute position attribute to define the layer and position of an element within in our app. The absolute position ignores the default styling flow of the structure and can also work ...
404's user avatar
  • 89
2 votes
3 answers
165 views

How do I change color of Android system navigation bar API 35+

I am unable to change color of system navigation bar. In dark mode it ineed appears as transparent and its fine (ideally I would want it to be the same color as bottom navigation bar), but for light ...
Cuyer's user avatar
  • 46
0 votes
0 answers
36 views

Is it possible to access SideEffect or LaunchedEffect from outside a Composable in Jetpack Compose? [closed]

I’m working with Jetpack Compose and using the Effect APIs like SideEffect, LaunchedEffect, and DisposableEffect to handle logic that depends on the Composable lifecycle. These APIs work great inside ...
sandesh pawar's user avatar
1 vote
1 answer
87 views

Compose Multiplatform Project (Android Target): Resources not working in module

Full reproducible example here I'm working on a Jetpack Compose Multiplatform project. In my module ui-system, I have a drawable located at: ui-system/src/commonMain/composeResources/drawable/compose-...
Yannick's user avatar
  • 6,132
0 votes
0 answers
26 views

Problem when I try to convert font family defined in XML to Compose FontFamily

My final goal is to load fonts from a Variable Font Collection. But in Compose there isn't a Font() function that takes a TTC index, so I tried defining a font family in XML file(which supports ...
Massi Neptune Jr.'s user avatar
0 votes
0 answers
89 views

Unresolved references with HiltViewModels. Android Jetpack Compose

With the following implementations, I'm getting unresolved reference errors with the following lines: import android.content.Context import androidx.lifecycle.ViewModel import androidx.room.Dao import ...
mfusco's user avatar
  • 103

15 30 50 per page
1
2 3 4 5
953