Category "android"

Change recyclerview rows after being created

I have a viewPager which contains two fragments. First for showing list of products and another one for showing list of selected products. In the second fragmen

How to change visiblity (visible, invisible or gone ) of setEndIconDrawable in TextInputLayout android?

I am trying to make invisible or visibility gone of endIconDrawable which is the edit icon in the picture above for FirstName field only and want to keep visib

stopping Android Accessibility UI Component on softKey "HOME" Button pressed

Created "AccessibilityService" and am able to show Hints based on the Text Entered.The Problem is i want to stop the activity service when the Host application

Installation failed with message Error: android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space

I was getting the message > Installation failed with message Failed to establish session. so following some responses to the problem I disabled Instant R

The child view set to app:layout_constraintTop_toBottomOf="parent" cannot be displayed

The child View of ConstraintLayout is set app:layout_constraintTop_toBottomOf="parent" to hide at the bottom of the screen. Just after entering the Activity, wh

Trying to pass a background color through intentPutExtra

I am trying to set the background color with intentPutExtra but it doesn't seem to change, this is my intent from the MainActivity: @Override publ

Room database - edit entities

I have a question. I edited my Room entity from this: @Entity(tableName = "users") public class User { public User(String username, String email, String passwo

Android Studio's project gradle file changed?

I just updated Android Studio and started a new project. But now the project grade file seems different. Here are the lines: plugins { id 'com.android.appli

Room database - edit entities

I have a question. I edited my Room entity from this: @Entity(tableName = "users") public class User { public User(String username, String email, String passwo

How can I change icons color in button?

I created button with text and icon: <Button android:id="@+id/btnLinkToProfile" android:layout_width="fill_parent" android:layout_he

how to fix Zip Path Traversal Vulnerability In Android

I have an app that has startapp(0.5.1) ads, but after reviewing, I got the following error: Your app has an unsafe decompression pattern that could lead to a "s

How to detect when back button pressed in fragment android?

I have project with navigation drawer with fragment, with 5 menu, the problem is when i go to menu 4 and the i press the back button the app closed, but i need

Uploading Android App Bundle to Google Play Console - key signing error

I'm trying to upload a brand new .aab file to the Google Play Console, but keep getting this error: Upload failed You uploaded an APK or Android App Bundl

Android SDK not found for react-native

There are multiple similar questions everywhere across the internet and so far no provided solutions work. I use Android Studio 4.0.0, and maybe this is the pro

Unable to build android project due to problem with ninja

i have an android project with maply dependency and it was working fine but i dont know what happened it just wont build. here is the error when i try to build

Waiting for Target Device to Come Online

I recently updated to Android Studio 2.3, and now when I try to run the application, the emulator does not come online. It times out after 300 seconds. Additio

Flutter: pub get failed (66)

When i try to implement scoped model, i get this error message: [flutter_course] flutter packages get Running "flutter packages get" in flutter_course... Crea

Android Studio 2.3 error: "Gradle sync failed: Cause: services.gradle.org"

After I open a new project in Android Studio 2.3, I receive an error such as: Gradle sync failed: Cause: services.gradle.org Googling just gave me a log f

Display badge on top of bottom navigation bar's icon

I have implemented the bottom navigation view in my app and I have looked every where to display badges on top of the icons like this I was wondering whether th

Difference between signature versions - V1 (Jar Signature) and V2 (Full APK Signature) while generating a signed APK in Android Studio?

Please select at least one of the signature versions to use in Android Studio 2.3 Now while generating a signed APK in Android Studio, it's showing two options