Questions tagged as 'android'

1
answer

Design material properties do not appear on API 19 apparatus

I've added the support library for APIs below 21 and am testing the elevation property on my components. In layout view, when I click on the design tab, I can see the elevation but when I run to my smartphone does not change anything,...
asked by 18.08.2016 / 22:55
1
answer

Place objects on image

I would like to know how I could put objects on an image on Android. An example would be to have the photo and on it put other images as circles, triangles etc ... How could I do this on android?     
asked by 15.08.2016 / 16:24
1
answer

Change radio button color

I have an application that has black background. In one of the screens of the application I have a RadioButton . I need to change the color of this RadioButtom so that it appears on the screen. <android.support.v7.widget.AppCompatRadi...
asked by 02.09.2016 / 15:31
1
answer

Animation at the touch of a button

I have a registration screen where a default photo is already set. If I press on the photo it opens 2 options to change the photo. Or take the gallery or take a picture. Clicking the button would like to add an effect. Please, can anyone give...
asked by 31.08.2016 / 19:01
1
answer

How to prevent a new instance of Activity from being created at each Intent

In my application I have a BroadCast that receives push notifications in background , this push currently opens an activity with the information of a request to be accepted, what happens is that if the same instant is...
asked by 28.08.2016 / 22:24
1
answer

How to change the background color of PopupMenu?

How to change the background color of PopupMenu and set the height of the shadow. The only result I had was setting the popupBackgound in styles.xml the problem is that it loses the shadow. minSdkVersion 16 Compatibility API style.xml &l...
asked by 24.10.2016 / 00:46
1
answer

Error signing in with Facebook on Android

I have an application that has a login with Facebook, but a few days ago this feature stopped working and now displays the following message that is in the attached image, delete the application that I created on Facebook, created the hashes key...
asked by 18.10.2016 / 20:10
1
answer

Creating custom toolbar, action bar

I'm creating a separate toolbar to facilitate development I'm trying to make a simple toolbar but I can not do it. How I want to do: link My code: <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar xmlns...
asked by 15.10.2016 / 22:06
1
answer

Android Studio locked [closed]

My android studio IDE does not work right, whenever I try to drag some element into the interface it hangs and it just does not respond anymore. The same happens when trying to create fragments through the interface, I have to do everything by c...
asked by 29.07.2018 / 04:27
1
answer

Image capture for base64

My app takes an image from the gallery or takes a photo, how to take that image and convert it to base64 ? private void onCaptureImageResult(Intent data) { Bitmap thumbnail = (Bitmap) data.getExtras().get("data"); ByteArrayOutputS...
asked by 03.07.2017 / 15:22