Questions tagged [jetpack]

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

445 questions
0
votes
1 answer

BottomSheet - How to make it completely transparent - Compose

How do I make a BottomSheetScaffold completely transparent? I have a random white background showing up, even when I set the sheetBackgroundColor = Color.Transparent. Here's my BottomSheetScaffold BottomSheetScaffold( modifier =…
Hunter K
  • 13
  • 4
0
votes
0 answers

Neon(glowing) Button in Jetpack Compose?

I saw some videos in YouTube about how to make a Neon button in flutter, but i could not find a tutorial about how to make Glowing button in jetpack compose. can we make a Glowing Button in jetpack compose? somthing like one of these buttons:
0
votes
1 answer

How to use volley without context or an alternative for composable context?

The val queue needs a context and I have to use a context and so I have to use the @Composable so I can write the val context. but the problem is that where I want to use this function, there is not inside a Composable, so I can't use this…
0
votes
3 answers

Android Jetpack Compose: How to scroll to a LazyColumn row with the freshly inserted Room database entry?

I have a LazyColumn connected to a Room database query. I'm expanding on the "Room With a View" sample (https://developer.android.com/codelabs/android-room-with-a-view-kotlin#0), but I'm using LazyColumn instead of a RecyclerView to display a list…
dslamnig
  • 83
  • 1
  • 10
0
votes
0 answers

How to use flood fill in jetpack compose

how to coloring the particular portion of the image in jetpack compose
0
votes
2 answers

Improper composable sizing in Jetpack Compose

I've recently migrated from XML to Jetpack Compose and decided to create a note app with Jetpack Compose to learn more about it. an item of my notes in this program includes the title, description, and the level of priority, which is displayed in…
23_59
  • 13
  • 4
0
votes
1 answer

Button and status bar still purple after switching color theme

I switched all the colors in the Color.kt compose file to the ones I want. The problem is that the button I implmented is still purple. As you can see, its only the button which does not get the new Theme colors, but the text input fields are dark…
Chris Pi
  • 536
  • 1
  • 5
  • 21
0
votes
1 answer

Jetpack compose number input field, prevent paste text

I have input field defined like this: BasicTextField( keyboardOptions = KeyboardOptions(keyboardType=KeyboardType.Number), value = text, enabled = enabled, singleLine = true, …
Coldnight
  • 107
  • 13
0
votes
0 answers

Expecting two different responses, accepting one?

I have a similar problem to this one: Two Different Response in Retrofit However, both things that I've tried have not worked. I'm new to this and can't seem to find any other sources that are of use. I'm so so sorry if this is a dumb question, but…
0
votes
1 answer

Cannot compile when move to another compose function

Hi I don't know how can I call "weight(1f)" in my another comopose funtion Error gives me Expression weight cannot be invoke as a function. The funtcion invokle is not found FoodMenu @Composable fun FoodMenu(modifier: Modifier = Modifier) { Row…
Shane
  • 16
  • 1
  • 8
0
votes
2 answers

registerForActivityResult won't seem to import Kotlin

Im trying to use the function registerForActivityResult in my android project made in android studio. But when I write "registerForActivityResult" to use the function all that is showing is create function. I thought registerForActivityResult was a…
0
votes
2 answers

Anroid JetPack Compose Unable to copy/paste a comma delimetted string to Windows 10 clipboard

My Android phone is paired to my Windows 11 PC. In it's Link to Windows is "sees" my desktop and states it is connected. In my Windows 11 PC settings - clipboard is set to sync and under Bluetooth is "sees" my phone. In my sample you will notice…
0
votes
0 answers

Cucumber Android compose testing in createAndroidComposeRule

Im testing android app written in compose using cucumber and gherkin. My app is checking for shared prefs during splash screen to decide what fragment it should show. I want to do clean test app run every scenario/test but only first test under…
0
votes
2 answers

Unable to change Elevation Color For Card in Jetpack Compose

I am using a Card in-order create different buttons. I want my card to look exactly like shown in the image, and I tried many solutions online but none of that worked. Just want to change Card elevation color, but can't find a way to do it. Card( …
0
votes
0 answers

Dynamically set values to a Table Layout in a Kotlin Compose AndroidView

I am trying to display a list a items in my Kotlin app using compose by default, and using AndroidView in a Composable. Currently, I have this working piece of code which is a composable function inflating my XML layout: MainActivity.kt: …