Can anyone please point me out how to change this white background color of the app? Setting a color or background color on the Surface is having no impact. I'v
I completely confused with compose conception. I have a code @Composable fun HomeScreen(viewModel: HomeViewModel = getViewModel()) { Scaffold { val
I'm trying to get a value from LiveData with observeAsState in jetpack compose, but I get a weird error Type 'State<List?>' has no method 'getValue(Nothi
I have a single activity app using only composables for the ui (one activity, no fragments). I use one viewmodel to keep data for the ui in two different screen
How can I align the text using Text composable function vertically. Is there a way to do it without having to add another extra view to contain the Text. The te
How can I make a share button in compose, which will share a download link, I tried this but the result was different that I expected. Here is the code. Button
According to the documentation on custom layouts: "Each UI element has one parent and potentially many children. Each element is also located within its parent,
I am trying to use a .svg (vector file) to show an image but I am stuck and not able to do it. Is there any way I can use it, I tried to use it like this Image(
I have stumbled upon this quite trivial, but tricky problem. I have spent a decent amount of time searching official docs, but unfortunately found no answer. Of
I'm trying to change my loginEnabled value to true or false based off two textfield's being not empty, however my current implementation always returns false, c
I'm trying to add compose to my existing project and getting the following exception when building e: java.lang.IllegalStateException: Cannot find the Compose
this happened to me only when I updated to 1.0.0-rc01. it says: The following classes could not be found: - androidx.compose.ui.tooling.preview.ComposeVie
I can't preview any composables with Android Studio Arctic Fox Beta 4. Even the default one that is generated with an empty compose project. Running the default
I have a problem with TextField that is hiding under the keyboard, I've found the answers for the similar question here, but they are not helping me in my case.
I would like to send intents for a continuous stream of videos, but all intents, except for the first one (sent with youtube closed) seem to be ignored, and you
I am trying to design a search bar like Google search bar with decreased height. But the Input text is getting cropped also the placeholder text. Te
TopAppBar( backgroundColor = Color.Transparent, elevation = 0.dp, modifier= Modifier.fillMaxWidth(), navigationIcon = {
I was wondering if there is a solution for Exposed drop-down menu for jetpack compose? I couldn't find a proper solution for this component inside jetpack compo
I have a TextField in column with verticalScroll(). When adding a large number of characters, the textfield size goes beyond the keyboard and I stop seeing what
I have a LazyColumn where the use inputs items into. I want the LazyColumn to display the most recent item. How do I do this? Right now, LazyColumn is reversed,