Questions tagged as 'android'

1
answer

Options menu with setOnItemClickListener

I have a listview , and with setOnItemClickListener and / or setOnItemLongClickListener I delete the registry. I would like to know how to open a janela (type a modal, which opens the window and dims the background)...
asked by 11.10.2017 / 15:48
3
answers

Make request in a defined time interval

My application should update a list of data coming from the server every 5 minutes. Using Retrofit for HTTP request, what is the best way to do this?     
asked by 03.10.2016 / 04:39
2
answers

How do I put notifications in an Android application?

I'd like to learn how to develop notifications for an Android app, so they can be updated online. That is, every time there is a app update, I would like a notification similar to that of the image to appear.     
asked by 04.01.2017 / 22:42
3
answers

How to insert markers (marker) on a map in another fragment?

I'm developing an Android app where you enter a list of courier tasks (get something in point A and take it to the point B ) and these points are shown on a map App has two snippets: ReclyclerView containing the ta...
asked by 08.01.2017 / 18:31
2
answers

How to have a WebView in full screen?

My specific question: How do I open a% s of full screen% in Android Studio? Change Theme in Manifest? Change Theme in XML? Force a JAVA script? Change the view's borders? Change code in Style? All these attempts quoted above have been thor...
asked by 12.01.2017 / 23:19
1
answer

Error reference Firebase

I'm developing an application in Android Studio and using Firebase as a bank, but after finalizing the project structure when I went to test it it has an Android Strudio reference error with Firebase. I can not solve the problem, can anyone figu...
asked by 16.01.2017 / 22:18
1
answer

Dependencies gradle with error

Every time I try to introduce any API in my project and I'm going to put the compile there in dependencies of the gradle it gives error and does not get out of it. I've tried syncing too. The gradle only works again if I take the API that...
asked by 28.06.2016 / 12:26
1
answer

How to set the size of a button on android?

Could anyone give me a hint how to avoid the following problem? I have these buttons and I would like to leave them in a fixed size, so they do not rotate when the cell phone is rotated. I'musingRelativeLayout:<RelativeLayoutandroid:l...
asked by 19.11.2016 / 22:15
3
answers

Pass data between fragments

Well I need the following: I have an application that will Acticity this is the main and controls the entire application, I also have some fragments 2 of them are interface other 2 run in the background. The question is to pass...
asked by 08.08.2016 / 04:43
1
answer

Change the color of edittext and selection in edittext

I'm using an AutoCompleteTextView and an EditText, for email and password, respectively. Is it possible to change their color? The following image is below: Change the selection color and the color on the screen: XML:'<android.support.des...
asked by 08.06.2016 / 16:56