Questions tagged as 'android'

2
answers

Listview surpassing toolbar

Does anyone know why my listview is exceeding toolbar ? I already put the app:layout_behavior="@string/appbar_scrolling_view_behavior" attribute and it still will not. Code:<?xmlversion="1.0" encoding="utf-8"?> <Relati...
asked by 26.09.2017 / 01:53
2
answers

I can not add items in scroolview

I'm using this scroolview however I need to put new items underneath, and when I scroll down it does not come down, could you help me? follow xml code: link     
asked by 20.07.2017 / 02:32
2
answers

Save typed email and use it in a textview? [closed]

I want to get the email that the person entered in the login to display it in a textview, how do I do it? obs, This text edit is already being used to login     
asked by 21.07.2017 / 03:55
1
answer

Why does my Database (null) return null when I search for id?

I save in my bank using sugar every time I get a new notification, it works correctly, then in a fragment I populate a recycleview with all the database notifications, it also works correctly, but now when I try to delete from the database by id...
asked by 06.07.2017 / 03:30
1
answer

It is possible to use a variable in Strings.xml

I'm trying to make a string in the string.xml replace a field on the screen, but I've been searching and I'm not able to use it as a variable string.xml <string name="nome">%1$s</string> class.java Resources res = getResour...
asked by 14.07.2017 / 21:32
1
answer

Forms of Popular ListView with Retrofit 2

Although there is already a similar question, I did not clarify my question, my problem is as follows, the code below is Retrofit's onResponse, I'm starting now in Java, I'd like to play the response.body result in listView, I I got a string for...
asked by 30.07.2017 / 15:54
1
answer

EditText already filled in after user login using firebase

Hello I have a question about a process that I can not do. I have the following screen, and I wanted the EditText user to already be populated with the user name or the user's email. I'm new to the mobile programming area, and I tried to do t...
asked by 07.09.2017 / 17:23
2
answers

Convert String to Integer on Android

Galera, I had already opened a question regarding this subject but in java ( Here ), I could not solve it and now in an android apk I have the same problem. I have a service with a thread running a socket server, in it using ResultReceiver ma...
asked by 04.10.2017 / 23:23
1
answer

How to end an activity from another class?

I need to close an activity if it has opened, when a particular timer finishes, how do I do that? because to use the finish I need context. I tried to cast, but to no avail: if (dados.getvideorodando()){ try { ((Video2)getApplicationC...
asked by 06.10.2017 / 01:42
3
answers

How to validate a spinner?

Good afternoon. I'm making an Android application that has a form, and in that form there are spinners and answer text fields. Can anyone help me how do I check if the spinner has been selected?     
asked by 09.09.2017 / 21:05