Category "android"

Flutter app does not start in debug mode

I had simple Flutter app with debug config. After I change the gradle config and other stuff to build apk in release mode.I did all the config based on the docu

How to handle notch(display cutout) in android API lower than 28?

Android added notch support on API 28, but how to handle it on devices running API 27 (Honor 10, Huawei P20, etc.) ? I was trying to use DisplayCutoutCompat

YouTube video player in flutter

I'm using this package youtube_player_flutter: ^8.0.0 to display YouTube videos in my flutter application but I have a little of issues that I can't solve yet.

How to get the hide keyboard event

I want to know how to get the hide event from my SoftKeyboard which is displayed when I click on my EditText (the first button on the left): <EditText

Navigation drawer item highlight color exceeds over the radius of the corners

Navigation drawer item highlight color exceeds over the radius of the corners when I select (long press/ hold down) the item. <...NavigationView in activity

Android emulator device is too big for the screen

Hello i'm using Android studio version 4.1 I'm having a problem when Open android emulator, the size of the device is too big and the screen is only displaying

Background adding more padding to Button

I have this simple XML file in my Android Studio. There are 2 buttons <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schema

android app flip layout when I change language [duplicate]

I created an app on android studio using java. I have a problem that when I change the language From English to Arabic the app flips 180 degre

How to make ViewPager2 less sensitive?

I'm using ViewPager2 in my App, it has three pages and each page show different contents, the issue is that it's too sensible that the ViewPager will change the

Determine Android device performance programmatically

I want to run different lines of code for android devices with different performance. For example something like this: if (isHighPerformanceDevice()) { // r

A problem was found with the configuration of task ':app:checkDebugManifest' (type 'CheckManifest') in flutter

I was building my app, when this error occured while building - FAILURE: Build failed with an exception. * What went wrong: A problem was found with the config

How to reduce Android APK size in react-native?

I am working on react native project , but whenever i am building an Apk file , it give me Apk of 47MB. I tried every documentation which i found useful on goog

Flutter Local Notification Error : 'int java.lang.Integer.intValue()' on a null object reference

When I activate the scheduled Flutter local Notification, it crashes. I have "launcher_icon" in the drawable folder, has all the configurations from the github

Change position of icon drawable in TextView

In my case, I have a textView with a drawable icon at the start of it(android:drawableStart), when the text of textView is multi-line, the icon goes in the vert

Flutter Location service no response

I am delevoping an app with gMaps and in my application I am getting location permission from user and after that I am requesting the user to turn his/her gps o

Google play games pop up connection message not showing

Hello I have a game application that use Google play games services with the V2 Sdk, the problem is that the user is automatically connected through the games s

Icons not showing in Image View

I am trying to show the items into Recycler View in Grid Layout Manager. My list item xml file is <?xml version="1.0" encoding="utf-8"?> <RelativeLay

Not able to copy+paste in Android emulator with Apple silicon m1

Android emulator API version: 32, arm64-v8a Android studio bumblebee 2021.1.1 patch 3 Mac OS version: 12.3.1 I am trying to copy text from emulator and past tha

Internal app sharing show downloading error | Error retrieving information from server. DF-DFERH-01

I published my app in internal app sharing. After I shared link to download to myself, but to another account. I turn on internal app sharing in Google Play on

Difference of setValue() & postValue() in MutableLiveData

There are two ways that make change value of MutableLiveData. But what is difference between setValue() & postValue() in MutableLiveData. I could not find