Category "android-jetpack-compose"

Jetpack compose Google Maps does not load properly when using bottom navigation

I have been stuck on this all day. I am using the official jetpack compose google maps composable. The map is displayed on one tab of my bottom navigation. I ha

Play video from URI in Jetpack Compose android

I am trying to play a video which user selects from file explorer. Then it should open and start video as expected and as shown in below tutorial. But there is

Match Width of Parent in Column (Jetpack Compose)

By default, Column {} has the width of it's largest child element. How can I make all other elements to fit the width of the parent Column? If I use Modifier.fi

Match Width of Parent in Column (Jetpack Compose)

By default, Column {} has the width of it's largest child element. How can I make all other elements to fit the width of the parent Column? If I use Modifier.fi

how to make cursor on BasicTextField be centered on jetpack compose?

I have a problem, where I need a BasicTextField to customize the TextField as I want. Here I have tried to do a custom, but there is a problem with the cursor i

how to make cursor on BasicTextField be centered on jetpack compose?

I have a problem, where I need a BasicTextField to customize the TextField as I want. Here I have tried to do a custom, but there is a problem with the cursor i

jetpack compose: @Preview is unresolved after updating to alpha08

I updated compose libraries from alpha07 to alpha08 version = "1.0.0-alpha08" androidx.compose.ui:ui:$version androidx.ui:ui-tooling:$version But after that an

How to update jetpack compose slider state outside of the slider

So, I'm using the Jetpack compose for my app and I have a state with a float value in the viewModel. This value can be updated outside of the slider; but also f

Interaction jetpack compose with bluetooth library

how to use Android Bluetooth api in jetpack compose ? compose need state and Bluetooth api has not compostable function .i mean how to instance state for Blueto

Recompose in Android Compose

I was implementing the outlinedTextField in android using new compose library. But strangely the input data was not updating in the text field. So I searched an

Jetpack Compose take screenshot of composable function?

I want to take screenshot of specific composable function on Jetpack Compose. How can I do this? Please, anyone help me. I want to take screenshot of composable

Jetpack compose onClickLabel for Button and IconButton

Working on accessibility enhancements for my app. From Docs, I can see that Card has both onClick and onClickLabel as part of the API. And for composables witho

How to remove padding between AlertDialog and title/text with Compose

Using compose, I want to create something like this : Problem is using compose AlertDialog I only achieve to get this : There is a padding between the AlertDi

LazyColumn with header item in card and remaining items in card

Using compose LazyColumn I would like a card for the header item, and a single card that contains the remaining items. LazyColumn() { item { Card() { // h

How to remove padding between AlertDialog and title/text with Compose

Using compose, I want to create something like this : Problem is using compose AlertDialog I only achieve to get this : There is a padding between the AlertDi

What is the better or easier way to create "nested" menus in Jetpack Compose?

So in XML you were able to structure menu items and nest them like this. But in jetpack compose, I am unable to figure out how this would work. I already read

Wrong ripple in material3 NavigationBar in Jetpack Composee

When I use Material3 NavigationBar in Jetpack Compose I get wrong rectangular ripple effect like this: Material3 library version: 1.0.0-alpha06 Code: Navigatio

How to tell the composeTestRule to wait for the navhost transition?

I'm trying to write an integration test for an Android application entirely written in Compose that has a single Activity and uses the Compose Navigation to cha

How to store data in Jetpack Compose Desktop?

I am creating an application in Jetpack Compose Desktop which will take user input and after user reopens the application that input value should be there. I me

compose NavHost Start the white Screen

My app starts with navigation globally, but I found that when I set the following code, the app will remain blank after startup unless I manually touch the scre