Questions tagged as 'android'

1
answer

Is there any alternative to PRIORITY_MAX that is obsolete?

I'm using the NotificationCompat.Builder class to create a notification in which it has to stay on top with the highest priority. I set the notification priority as follows: notification.setPriority(Notification.PRIORITY_MAX); How...
asked by 08.02.2018 / 02:21
1
answer

Fixed background, no resize when keyboard is activated

I have the following color layout, set to background of LinearLayout : background.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangl...
asked by 07.02.2018 / 12:43
1
answer

Menu Navigation Drawer with ExpandableListView

I'm looking at how to set up a default NavigationDrawer menu with ExpandableListView, but only find example and explanations of how to mount with ListView, I'd like some tips, tutorials or example so I can implement. OrSomethinglikethisImage...
asked by 18.06.2014 / 12:25
1
answer

Prevent repeat animation by changing device orientation

I'm working on a screen that contains an animation that is repeated every time the screen is rotated. I looked for but I did not find any precise information on what I need to do so that the animation does not repeat itself when changing the ori...
asked by 16.06.2014 / 07:24
2
answers

How to leave the fields with the same style?

I do not like to keep repeating code and I believe there is a way to leave, for example, two fields or more with the same formatting style: Below I have two EditText they have something in common, like the left and right margins and th...
asked by 23.06.2014 / 21:17
1
answer

Google API - Autocomplete does not have zip code

I'm trying to use Google services to get mailing. The idea is to enter the address or zip and load the data street, neighborhood, zip, city and state. I've been able to get most of the data, but the zip is not being returned in the output. He...
asked by 18.12.2017 / 12:43
1
answer

Uninstall packages and all their dependencies at once

Is there any way I can uninstall packages and all their dependencies in a single command? Without having to uninstall one by one. Type:    Unable to uninstall 'System.Net.Http.4.3.3' because   'NETStandard.Library.1.6.1' depends on it How...
asked by 05.01.2018 / 17:43
1
answer

How to change two place buttons?

I'm developing an Android application that's basically a game. In one of the Activities there are a few buttons, and I wanted that when one event occurred (it could even be the trigger of another button) two buttons changed position in the layou...
asked by 01.04.2018 / 18:56
2
answers

Android Studio 3.0 Update Error

Well today an update appeared for Android Studio and as I always put it to update normally. When I finished updating I asked to download some gradle versions and things like that, I just installed it so I let it run normally. But the debug \ man...
asked by 26.10.2017 / 17:39
2
answers

Compare Latitude and Longitude in Python

I have an application where an Android client sends the coordinates to a Python server, which should put such information in a MySQL Database if the client is within an area (a polygon of 8 vertices, to be exact), if is not within the area, it d...
asked by 05.10.2017 / 20:44