Questions tagged as 'android-studio'

2
answers

How do I place the image next to the listview items in Android Studio?

I have the following code for listview: ListView listview = (ListView) findViewById(R.id.listview1); String[] dados = new String[] { "Produção Geral", "Perdas", "Contagem Por Máquina", "OEE", "Paradas de Máquina" }; ArrayAdapter&l...
asked by 05.11.2018 / 18:13
0
answers

Continuous Thread

Is it possible to create continuous threads? I have 5 messages that will be generated shortly after I click the button, they are generated at once. I want instead of being generated at once, it takes 5 seconds to generate each, but continuously....
asked by 20.10.2018 / 04:36
0
answers

generate one textView at a time

I have 5 textViews, one underneath the other, each one will set a different text, I hedge the text in a progressive way, using animPerWord. The problem is to generate a textView at a time, from 1 to 5, I do not want to generate the 5 at once, I...
asked by 20.10.2018 / 06:46
0
answers

C ++ Editor does not work in Android Studio

I have 2 android projects that use C ++, one of them uses 100% C ++ using NativeActivity and an emulator that uses JNI, the question is simply the android studio's C ++ editor no longer works as an example of the images below: p> Basica...
asked by 23.10.2018 / 14:07
0
answers

How to leave a value that comes from SQLite in an EditText?

I'm developing an application in Android Studio, and I have an activity on a card, and wanted to get the SQLite ID column and leave it as default value, how can I do this?     
asked by 23.10.2018 / 03:01
1
answer

use handle in textView [closed]

I'm creating a chatbot and I want it when I send something, it appears in a textview the message 'thinking ...' for 5 seconds before sending the answer, I've already studied Handler, but so far I have not had any idea how do that, anybody have a...
asked by 17.10.2018 / 23:00
0
answers

Could not find com.android.tools.build:gradle:3.0.0. Android Studio

I downloaded an app, my, from git, and opened it in Android Studio and this message appears on the console itself Now look for a solution on the web and everything I've tried has gone wrong. How do I resolve this?     
asked by 01.11.2018 / 22:08
0
answers

Shared image cropped

I have a basic problem that I can not solve. I try to share an image that was saved from a screen, the problem is that this image is saving cut off. It is intermittent .... the tests work perfectly on some devices with the purest android type (M...
asked by 15.10.2018 / 16:35
0
answers

Arrange the size of a Bitmap in a layer-list

I would like to be able to set a size for my image by having it fit into my reduced size menu. Expectancy: <?xmlversion="1.0" encoding="utf-8"?> <layer-list <item > <shape android:shape="rectangle" >...
asked by 18.10.2018 / 21:02
1
answer

TextView Display

Whenever I pass a certain character limit I can no longer see the text on the design screen, if I run the application I can see, but I would like to see it in this one so I do not need to run the emulator.     
asked by 15.10.2018 / 23:21