Questions tagged as 'android'

1
answer

Images on different types of screen

At this moment I have these layout's to support the different screen sizes When I test the app on 4-inch or 4.5-inch devices, both will use the activity_main.xml layout that corresponds to the normal size but repair that on the 4...
asked by 06.02.2017 / 20:29
2
answers

Full Screen Layout

I'm working on a project where I have a screen that contains some elements separated by different layout types. All of these elements needed to be grouped within a single LinearLayout so that I could "envelop" them in a ScrollView ....
asked by 15.11.2016 / 01:13
1
answer

Two Intents starting the same Activity

I have a button to add a Tip and I have another button to edit the already created Tip. I would like to use the same Creation Activity, when it is for editing it would pull the data already created. I'm in doubt how to make the Intent code, I ca...
asked by 16.11.2016 / 00:24
1
answer

How popular is a Spinner from data returned from a URL?

I have the following code that works fine, but with an example of array : @Override protected Boolean doInBackground(String...urls) { try { Log.e("****** MESSAGE ******", " Json Object = " + JSONParser.getJSONFromUrl(URL).get("R...
asked by 31.01.2017 / 03:34
2
answers

How to identify the click on a drawableLeft

I have the following EditText : <EditText android:id="@+id/mPasswordTxt" android:layout_width="match_parent" android:layout_height="wrap_content" android:layo...
asked by 27.01.2017 / 17:58
1
answer

Share my result

Good afternoon, I created a football referee application ... and I searched the internet how to share the result I found this way (a member here of stackoverflow in Portuguese) String message = "Text I want to share."; Intent share = new I...
asked by 12.11.2016 / 17:18
1
answer

How to add content to a textview without having to copy what's already in it?

Galera is as follows. I would like to know how to add a paragraph or a single word to a textview that already contains content without necessarily copying what already has in it. I would like you to show me something that would suit any text....
asked by 14.01.2017 / 23:23
1
answer

Popular ListView with data from Retrofit2

I'm trying to pupolar a listView with information I get from WS through Retrofit2. But error somewhere and nothing is presented, neither error nor the listView. can give me strength for kindness. Follow the code section. //inicio um Arr...
asked by 14.01.2017 / 12:09
1
answer

NetworkError: 400 Bad Request

When sending a post, I got the message in the NetworkError message: 400 Bad Request. In the Development Environment no error occurs, data is synchronized from device to Tomcat on my internal network successfully. I have published the syste...
asked by 16.01.2017 / 16:30
1
answer

How to send a message telling the user the start date is greater than the end date?

I spent the whole afternoon doing this code but it did not work well. What do I do to send a message to the user saying that the start time can not be greater than the end time? xml: <?xml version="1.0" encoding="utf-8"?> <Relative...
asked by 16.01.2017 / 01:10