Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
3 votes
0 answers
53 views

Lazy Column with Scrollable Gradient background in Jetpack Compose

I'm working on a Jetpack Compose app having a Scaffold layout. My layout includes a title, a tab bar, and a LazyColumn. I want to create a gradient background that scrolls with the LazyColumn content ...
Bhoomi Vaghasiya's user avatar
1 vote
1 answer
42 views

First draggable item is not on top of other items in a Row while it's dragged on Jetpack Compose

I have a collection of five items, all of which are draggable. I want to achieve behavior in which the dragged item will overlap all the others. I tried changing the zIndex parameter but it didn't ...
Alex Bro's user avatar
1 vote
0 answers
32 views

How to keep the button over the other elements even if it is disabled in Jetpack Compose?

I have a screen where I display a list of items: Scaffold( content = { //List of items }, floatingActionButton = { Button( onClick = { if (...
Always Learner's user avatar
0 votes
1 answer
80 views

Kotlin Multiplatform + Jetpack Navigation + Android Studio Koala 2024.1.1 Patch 1 issues

I've started moving one of my older project (Java) to the KMP setup, my goal was to just move around the structure to KMP and slowly import Kotlin code from the shared folder into the androidApp. I ...
Suau's user avatar
  • 4,698
0 votes
0 answers
15 views

Which resource qualifiers should I use for devices having similar screen sizes but showing views in different sizes?

I am working with views in xml in Android development, and I noticed that some devices with similar screen sizes (both in terms of DPI and pixels) show the UI of the app differently. For example, a ...
Mike's user avatar
  • 165
0 votes
1 answer
103 views

Composable recomposing even with strong-skipping mode enabled

I have tested this using Kotlin 2.0.0, 2.0.10-RC and 1.9.20 just to be sure thisn't some weird Kotlin compiler issue. However, I am currently struggling to understand how lambdas affect the ability to ...
Andre Thiele's user avatar
  • 3,921
1 vote
2 answers
46 views

Any solution to apply rounded corners in Jetpack Glance

Is there any solution to apply rounded corners in Rows or Columns in Jetpack Glance cornerRadius works only in android S+, so any workaround ? @Composable fun ParkingSessionsWidget(sessions: List<...
Anis Amh's user avatar
0 votes
0 answers
34 views

How to draw a 3D mask on the face in android media pipe

[![ After I get 468 points ( x, y ,z) from how can I draw a mask (use .obj file)on my face, please give me some tutorial make a mask in face by android java or kotlin.you have example please share ...
gowthaman C's user avatar
2 votes
1 answer
77 views

Kotlin jetpack compose API call without endpoint and in post method

interface ApiInterface { @Multipart @POST("/") suspend fun getRendomFact( @Part("secret_key") secretKey: String, @Part("token") token: String, @Part("...
Arvind Gehlod's user avatar
1 vote
1 answer
95 views

Passing UI and Click events in multi module app using Android Jetpack compose

I'm working on a scenario with Jetpack Compose where I dynamically generate the UI based on the details of Android UI components (data) received from an API response. I've created a separate module ...
S S's user avatar
  • 301
0 votes
0 answers
35 views

Getting error while run the instant app in android

I have started exploring the instant app in Android. I have set up all the things like adding the dependency, Manifest things, and thinking deploy as an instant app in the run configuration. Manifest :...
Hanif Shaikh's user avatar
  • 1,379
0 votes
0 answers
62 views

Implement a setting provider with jetpack compose and data store

I want to store my app settings in a datastore and make it easily accessible from anywhere. For example to have an ui settings category and being able to access it and set it easily from anywhere ...
Marcel's user avatar
  • 1
0 votes
0 answers
124 views

Dismiss a Dialog in Jetpack Compose

So i customized a Dialog for data UPDATE which i don't provide in this question since i think it would be too long. This Dialog would pop if value is found in the database, setting state found = 1. ...
Nizam Hakim's user avatar
0 votes
1 answer
39 views

How Can I Navigate To Another Page

//ViewEntry.kt @Composable fun createCard(diaryEntries: List<DiaryEntry>, navController: NavController) { LazyColumn( modifier = Modifier.fillMaxSize() ) { items(...
Mhmd's user avatar
  • 11
-2 votes
3 answers
327 views

Compose - How to implement nestedScrolling in BottomSheet

I've created a BottomSheet in Compose, the thing is that I've wrapped it on a BottomSheetDialogFragment. Inside of it, I've created my BottomSheetScreen, the problem is that when scroll it doesn't ...
Skizo-ozᴉʞS ツ's user avatar

15 30 50 per page
1
2 3 4 5
72