Skip to main content

Questions tagged [android-jetpack-compose]

Jetpack Compose is Android’s modern toolkit for building native declarative UI made by Google. If you're targeting desktop with Compose for Desktop, use both this and [compose-desktop] tags.

android-jetpack-compose
0 votes
1 answer
26 views

Kotlin + Jetpack Compose: vararg with multiple generic types

I have this composable: @Composable inline fun <T:Any> AnimatedVisibilityNullable( value: T?, ... crossinline content: @Composable (T) -> Unit ) { // for nullable values ...
Federico Corzo's user avatar
0 votes
0 answers
16 views

How to add tap listener on childNodes of ModelNode?

I am currently working on an AR Application for Android with Kotlin and JetPack Compose using SceneView for AR and the 3D Rendering. The Problem At one point i have to display a 3D Model, which has ...
ofreezy's user avatar
0 votes
0 answers
11 views

OnClick Compose GoogleMap Cluster/Item show InfoWindow without camera move

Using this example activity: https://github.com/googlemaps/android-maps-compose/blob/main/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt I want to only ...
Mario Huizinga's user avatar
1 vote
1 answer
67 views

How to achieve this overlapping effect in Jetpack compose

How do I achieve this overlapping effect in Jetpack compose. I am trying to get the precise position and placement just like the one shown in the picture, specifically of the ones circled in blue, the ...
Daniel Iroka's user avatar
0 votes
0 answers
35 views

How to replace profile icon with name initials in bottom navigation bar once user logedin in Android compose application [closed]

How we can replace a profile icon in the bottom navigation bar with firstname and lastname charecters dynamically
user7029573's user avatar
0 votes
0 answers
17 views

Compose TextField lose focus when newline on Samsung Note 10 Lite

Surface { Box(contentAlignment = Alignment.Center, modifier = Modifier .fillMaxSize() .padding(32.dp)) { var state by remember { mutableStateOf(TextFieldValue("")) } ...
Jeff Liu's user avatar
  • 131
0 votes
1 answer
34 views

How Do You Make A Foreground Service Notification Only Appear When The App Is Closed Or In The Background In Android?

As the title says, how do you make a foreground service notification only appear if the app is closed or in the background? I have a sample app I'm trying to implement that feature into to but I don't ...
Bob Rasner's user avatar
0 votes
1 answer
38 views

ConstraintLayout in compose multiplatform?

How to use ConstraintLayout in multiplatform compose.. commonMain.dependencies { implementation(compose.runtime) implementation(compose.foundation) implementation(compose....
Ahsan Ali's user avatar
  • 193
0 votes
1 answer
23 views

Adjust two Text whit overflow for the first one

I have two Texts in the Row. The first one can have relatively short or long content, potentially not fitting the row's size. The content of the second text is always constant. If the content of the ...
Maksim Golendukhin's user avatar
0 votes
0 answers
37 views

Jetpack Compose TextField Not Showing 'text' Property in LambdaTest/Appium Automation Testing

Description: I am working on an Android application that utilizes both XML and Jetpack Compose for its UI components. The application runs correctly during normal use, but I am encountering issues ...
Naman Sharma's user avatar
1 vote
1 answer
55 views

How to prevent click gesture on screen when Popup is shown?

When TooltipBox is open clicking any Composable on screen has no effect other than dismissing Popup. How does it do it and what's effective way to implement it no matter where current Composable is in ...
Thracian's user avatar
  • 59k
0 votes
1 answer
29 views

bias in jetpack compose ConstraintLayout

For example, I want the right side to align with Image's start when the Text width is less than screen's width, and the Text will wrap automatically when the Text's width is more than screen's width ,...
ggboundzhl's user avatar
2 votes
0 answers
46 views

Jetpack Compose CRUD application views don't refresh

I'm new to Android Compose. I'm generally teaching my daughter how to code and we decided to start with something that has an UI,so we chose Android to start. I made an app in Jetpack Compose and I ...
Piotr Klimaszewski's user avatar
0 votes
1 answer
33 views

TextField Inside ExposedDropdownMenu doesn't show software keyboard

I have a ExposedDropdownMenu and the first Menu item is a OutlinedTextField that filters the menu items. It's work fine in VM and physical keyboard but it doesn't show software keyboard on VM and ...
ehsan khormali's user avatar
0 votes
0 answers
42 views

can someone explain the strange recompositions that happen using datastore, outside or via lambda of main composable

I have this code where first and third surfaces(and all its content) recompose when clicking on the first surface. However, only the second and third surfaces(and all its content) recompose when ...
Zen1000's user avatar
  • 157

15 30 50 per page