Category "android"

Jetpack Compose BottomSheetScaffold sheetGestures disabled but gestures still works when child component is scrollable

I have a BottomSheetScaffold inside my android app that looks like the following: BottomSheetScaffold( sheetGesturesEnabled = false, sheetConte

Surface at +(...)% colors in jetpack compose

In official Material Design 3 resources (e.g. the Figma design kit), there have been many references to colors called "Surface at +x". These colors are the surf

Accessibility Service is malfunctioning

I've been using an Accessibility service for a while now on my app. It used to work fine, but there's this message on the phone at the screen where you enable t

java.lang.NoSuchMethodError after upgrading Jetpack Compose to 1.0.0‑beta07

I'm getting the following error running observeAsState on a LiveData object after I upgraded Jetpack Compose to 1.0.0‑beta07. java.lang.NoSuchMethodError:

Jetpack Compose on Kotlin 1.5.0

I've updated to Kotlin 1.5 last week, and after yesterday having seen the intention of Google to make Jetpack Compose the preferred option for designing UIs, I

Am facing this problem each time i run my react native app using expo please i need support

While trying to resolve module idb-keyval from file C:\Users\ADMIN\Desktop\Fintech\node_modules\parse\lib\react-native\IndexedDBStorageController.js, the packag

Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'. In React Native

I got this problem when I build my app in release mode using App Center. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseJa

How to create an extension function with multiple receivers in Kotlin?

I want my extension function to have a couple of receivers. For example, I want function handle to be able to call methods of both CoroutineScope and Iterable i

MotionLayout OnSwipe touchRegionId clashes with OnClick targetId

I have this transition in my MotionLayout. <Transition android:id="@+id/transition_validate" motion:constraintSetEnd="@id/endRight" motion:const

How to make kotlin operator a Composable with parameters having default value

I'm trying to make Kotlin's invoke operator a @Composable, everything works fine, until I add a parameter to it, which should have a default value. See the code

PDF file download from url and store on internal storage then try to open it from any PDF reader its shows file format is not supported in flutter

I am trying to open my downloaded PDF file within my app then it shows fine, but when I open it from any other app like PDF reader its shows file format is not

Exoplayer only showing black screen not playing the video

When I open the app empty player with black screen is showing and the play button is changing to pause button after a second or two seconds, as per below I ha

Immersive fullscreen and Preference Dialogs pulling down status bar

I'm using an immersive fullscreen activity and for my dialogs I used the hack I found here where I set the dialog not focusable when opening it so its not pulli

GoogelFit sample app BasicHistoryApiKoltin, work on 2 device properly and on Samsung it gives APIException 5000

I am currently developing Step counter app, in that I am following Google Sample app. Problem is it works properly on my all device except one, On Samsung it gi

Immersive fullscreen and Preference Dialogs pulling down status bar

I'm using an immersive fullscreen activity and for my dialogs I used the hack I found here where I set the dialog not focusable when opening it so its not pulli

How do I correctly anchor Snackbar in android, so it does not cover my bottom navigation view?

I am trying to avoid the snackbar covering the bottom navigation view. Instead, it should only appear inside the nav_host_fragment, but for some reason, it does

Flutter: Id does not exist when try to run my code

I have a Flutter application and when I try to run my code, it throw a warning that says the id does not exist. How can I get out of this warning? ======== Exce

OMSDroid - Doesn't load the map. Error: java.io.IOException: Unable to find default handler for protocol: https

I have a problem with the OSMDroid libraries. In my application I have a Fragment which should contain a map (OpenStreetMap) and and when I load the page, the m

Create MaterialButtonToggleGroup including MaterialButton(s) with customized style programmatically in Android

I'm trying to create a MaterialButtonToggleGroup with material buttons inside it and I wanna do that with custom styles. I was able to create that using xml, h

Android App Actions showing up in Google Home Routines

Recently integrated with the in-app promo SDK to bring awareness to our users that you can engage with the Google Assistant to trigger our app shortcuts. I am u