Andoid popup with gray background

Android
I have implemented a Popup menu for a image button. Popup background is blue. I want change it to gray. Please help me on this. My Code : btn_a.setO...
1 year ago

Line-breaking widget layout for Android

Android
I'm trying to create an activity that presents some data to the user. The data is such that it can be divided into 'words', each being a widget, and s...
1 year ago

Display Image in Listview with AsyncTask

Android
I am trying to display images in a listview with AsyncTask but I am getting an error. Saying... Attempt to invoke virtual method 'java.lang.String...
1 year ago

Creating All-Day Events Using Android Calendar Provider

Android
I would like my app to insert all day events into the calendar. I started off with the example given at https://developer.android.com/guide/topics/pro...
1 year ago

DataOutputStream nullpointer exception

Android
I am getting a NullPointerException on a DataOutputStream in Android. I first wrote some code to write out files in Java using DataOutputStream. Ever...
1 year ago

Kotlin View setEnabled function missing?

Android
In Kotlin, when using kotlinx.android.synthetic to access the View (e.g. Button), the setEnabled() function is missing? The isEnabled() function is st...
1 year ago

Register broadcast receiver dynamically does not work - BluetoothDevice.ACTION_FOUND

Android
Using Log class to track Runtime show that onReceive() methode does not called,why ? Register broadcast receiver dynamically private void discoverD...
1 year ago

How to start an activity when a link is clicked in webview?

Android
I am developing an android app, which has a webview in it.. I wanted to know how can I load up a specific activity (Eg. - abcd.Java) when a link in t...
1 year ago

Android SDK - aapt error : libstdc++.so.6 cannot open shared object file

Android
I was creating a new project out of nothing, for testing purpose, leaving all parameter to default (I didn't made any code change), on a new ADT insta...
1 year ago

Returning true in setOnLongClickListner

Android
Can any one please tell me why it is necessary to return true in the end of setOnLongClickListner(); when I try to change the return type from Boolean...
1 year ago

Multiple root tags error

Android
I'm new to Android development and programming in general. I tried to write some layout code but I'm getting Multiple root tags error Anyone who ca...
1 year ago

Floating action button and white background

Android
In fact, I search a way to mimic the FAB's inbox. When user press the red button, an opac view and a menu should appear. Because images are more more ...
1 year ago

How to make a smaller RatingBar?

Android
I've added a RatingBar in a layout : <RatingBar android:id="@+id/ratingbar" android:layout_width="wrap_content" android:la...
1 year ago

How to get the correct Item from recyclerView getAdapter( )?

Android
XML File for recycle view: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/...
1 year ago

Multiple Google Maps Lite in FirebaseRecycler

Android
I tried to make it running, by the only thing I got is a grey grid with Google logo on in the left bottom corner in the place of fragment. Maps are in...
1 year ago

Android Studio error: "Method getText() must be called from the UI Thread, currently inferred thread is worker

Android
i'm creating a CRUD operation in android studio but i kept getting errors. the error is when i check the LogCat this is what they show me line 156...
1 year ago

Android Google Map show markers on zoom change

Android
Guys I have to show markers on google maps with zoom.When user zoom in or zoom out markers will be visible covering the map area which is on the scre...
1 year ago

SlidingPaneLayout: slide without smooth animation?

Android
I'm using the new SlidingPaneLayout available in the latest support library, which provides the openPane() and closePane() methods to smooth open and ...
1 year ago

RealmObject AND Parcelable

Android
I'm new to Realm for Android so I'm not sure I'm approaching this the right way. I have a class which looks like this: public class Entry extends Rea...
1 year ago

How to use one interface in multiple fragments?

Android
I have one activity and 2 fragment. I want when in activity fire listener.receivePreview(obj) then execute : OneFragment -> receivePre...
1 year ago