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
1 vote
1 answer
40 views

How NOT to create projects with Jetpack Compose using Android Studio

I can't create a normal project without jetpack-compose, it always includes its libraries and configurations in Android Studio, and the working project requires not using it. I expected it to open ...
Cristian Tech's user avatar
1 vote
0 answers
10 views

How to update a Compose TextField during a Baseline Profile generation?

To bypass a login screen in a baseline profile generator, i would like to enter credentials. However the text property seems bugged. Is there a different way to interact with compose TextFields in a ...
Luciano's user avatar
  • 2,760
0 votes
0 answers
13 views

App stopped working after upgrading to build.ktx

I have no idea what wents wrong. I tried most approaches on stackoverflow but nothing works. All i figured out that it has something to do with my LdapContactsScreen java.lang.IllegalStateException: ...
Chris Pi's user avatar
  • 584
1 vote
1 answer
40 views

Ui does not recompose upon updating the stateflow from the ViewModel

I can change my view model's internal state by calling redirection(verified with Log statements), but it doesn't have any effect on gUiState in my main composable. Why is that? The main composable ...
Alberto Soligo's user avatar
0 votes
0 answers
12 views

ML kit camera text recognition not working when navigated from another screen

I asked a previous question here where the camera preview screen with ocr wouldn't work when navigated from another screen and I managed to get it to work but now the problem is the ocr function doesn'...
3698 3698's user avatar
0 votes
0 answers
15 views

WebView scroll stop working after showing modal sheet inside the site

I'm using accompanist WebView. Also I tried use standard webView with AndroidView - it nothing change at all When I click on item which opens modal sheet inside the site both vertical and horisontal ...
taasonei's user avatar
1 vote
0 answers
28 views

How to scale down the entire UI content to fit in a preview area in Jetpack Compose?

I'm implementing a theme chooser screen for my app. The idea is to provide various themes that the user can choose from and show previews of two screens so that the user can see how the theme will ...
Argus Waikhom's user avatar
5 votes
1 answer
54 views

How do I make a Text composable take up x% of the Row's width when there's a IconButton in the row?

I have a Row that has an icon button on the left, then 16dp padding, then a Text that takes up the remaining width in the Row, and finally on the right, another Text that should take up 25% of the ...
Toomany Bees's user avatar
1 vote
1 answer
41 views

Jetpack compose navigation: why I have wrong hierarchy of a destination?

Problem: I have an issue with the hierarchy of my Compose Navigation. The version of compose-navigation I am using is: androidx.navigation:navigation-compose:2.7.7. Background: I am trying to ...
sunakulto's user avatar
2 votes
2 answers
38 views

Error Build : A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction

I am new with Jetpack Compose and Hilt, I got problems when building the application after implementing the class module Execution failed for task ':app:kaptDebugKotlin'. A failure occurred while ...
Nanda Z's user avatar
  • 1,806
0 votes
0 answers
33 views

two columns? Card in compose [duplicate]

The DishCard function works correctly. How can I display the items in two columns? my code is @Composable fun PopularItems( popularItems: List<Recipe>, searchItems: List<SearchResult&...
Rafel C.F's user avatar
  • 179
0 votes
1 answer
36 views

Status Bar incorrectly displays time and other status colors in API 35 Android Emulators

I am currently trying to migrate my app to be compatible with Android 15. And as far as I concerned, in order to test Android 15 API, we need set up API 35 or VanillaIceCream API. Also based on the ...
vinhDev3006's user avatar
0 votes
1 answer
26 views

How to Connect to an IP, by disabling cleartext traffic

I am working on how to connect my app to a server which is running on NodeJS and MongoDB, I am relatively a beginner so I wondered how do i connect them, I am currently using Retrofit for making a ...
Sathwik Gumpina's user avatar
1 vote
1 answer
48 views

Typesafe navigation routes with arguments

I am implementing navigation in a Compose App using the guides: Type safety in Kotlin DSL and Navigation Compose Encapsulate your navigation code So, instead of using string routes, I use objects as ...
perissf's user avatar
  • 16.2k
1 vote
0 answers
22 views

Transparent Activity background unusally going grey in recents apps menu

I'm developing an Android application with a transparent background. It works fine, but in the recents view, the activity turns grey instead of retaining its transparency. I've tried several ...
itsbppradhan's user avatar

15 30 50 per page
1
2 3 4 5
875