I am trying to get Tabs working with a TabRow on Android with compose. What I'd like is the TabRow to have a white background. The default color seems to be thi
Is that possible to make live update the data of Widget using Glance jetpack compose ? Like update data while database is changes . For example while I am using
I have a string that contains html, how can I display this in a Jetpack compose Text? In a TextView I would use a Spanned and do something like: TextView.setTex
Is it possible to change the radius of the border of an OutlinedTextField. I want to achieve something like this I can not use Modifier.border because it just
At present I use Jetpack Compose in my Android Studio project. I find many projects still to use traditional way to implement a Preferences Settings Screen afte
I have a layout which looks like this: Row { ... Box( modifier = Modifier .fillMaxHeight() .width(5
I am currently in the process of evaluating whether or not we can migrate our rather complex UI to jetpack compose at this stage and I am struggling with the fo
I decided to make an application on jetpack compose but when I download the Android Studio canary version 2021.1.1.1 and I try to write some code to see the cha
In Compose, how do we get the position or size of a Composable in a screen ? For example, I'm trying to focus the map camera between specific bounds and adding
A dialog can have a rather complex ui, acting more like a floating screen rather than a typical AlertDialog. Therefore it can be desired to let the dialog have
I have ViewModel with Kotlin sealed class to provide different states for UI. Also, I use androidx.compose.runtime.State object to notify UI about changes in st
I'm using the Jetpack Navigation library with the Compose version. I'm setting up navigation like it's shown here I want to be able to navigate from screen A to
I have a column of TextFields, something like: Column { TextField( value = ..., onValueChange = { ... }, keyboardOptions = KeyboardO
I am using the latest Android Studio Arctic Fox 2020.03.01 Canary 8 and AGP 7, and I want to convert my project to use Java 11. Apparently just doing the follow
Here is how OutlinedTextField code looks like in jetpack-compose: OutlinedTextField( value = "", onValueChange = {}, label = {Text("Input")} ) The
I seem to be having trouble with Preview in compose, the layout panel doesn't appear when I annotate a compose method with @preview. I assume I'm missing a depe
Whether I use androidx.compose.foundation.text.BasicText or androidx.compose.material.Text, if there isn't enough space for a text it wraps to the next line, fo
Based on the images and PorterDuffModes in this page I downloaded images, initially even though they are png they had light and dark gray rectangles which were
With the following code the application window can be hidden using the button and restored using a global shortcut ALT+S. Now I would like to also use the short
In normal view, we can have onTouchEvent override fun onTouchEvent(event: MotionEvent?): Boolean { when (event?.action) { MotionEvent.AC