Questions tagged as 'android'

2
answers

Select theme in Android Studio

When I select a theme in Android Studio, like this Holo I changed, it changes the preview but when I run the application on my device it does not change anything. Can anyone help?     
asked by 12.02.2016 / 03:53
2
answers

How can I change the color of the EditText selection and pointer?

I want to change the color of the seleção of the text in a EditText and also change the color of the bolinha (the name is pointer if I am not mistaken) by java. It has to be equal to the image that follows only with anoth...
asked by 14.10.2017 / 23:10
2
answers

How to put clean button on android

I would like to put a clean button in my calculator application, I have already put the Button in the xml with id Clear and would like to know how I put in MainActivity.java , follow the code: public class MainActivity extends Ap...
asked by 26.11.2015 / 17:51
1
answer

Make a graph in android studio

Good afternoon, guys. I'm starting programming in android and would like to know how can I build a graph like this: Is there a widget that I can drag or even have to write code? Q. I use android studio     
asked by 27.10.2015 / 19:34
1
answer

Start Development App Result Games Board

I want to develop an android platform app that manages the board game matches between my friends. I know almost nothing about android , and I have to start. One of my questions is about saving the information from the results. So my questi...
asked by 22.12.2015 / 13:47
3
answers

Keep data from a list when rotating on Android

I started studying Android and I ended up falling into this problem. I created a RecyclerView where it is fed by a TextView field, but every time I rotate the simulator, the values are zeroed. I found some questions in the...
asked by 08.09.2015 / 22:42
1
answer

Xamarin - DependencyService NULL

Dear, good morning! I started to see a tutorial to develop a simple app in Xamarin with SQLite, but I'm having a problem with an object that calls DependencyService, it is always null, and I can not find the solution. The following is the...
asked by 02.05.2016 / 16:44
1
answer

Every image in android should be treated as a bitmap

I was having a problem uploading images in a TextView , when I came across a pretty dumb question, rs, would anyone know how to respond? Next, I was trying to load a large (high-resolution) image as a background of a TextView , so I figur...
asked by 06.08.2016 / 15:53
1
answer

Error removing object from an ArrayList

When I try to remove a int from arrayList it is simply an error. Code: ArrayList<Integer> colors = new ArrayList<>(); colors.add(Color.rgb(119, 103, 141)); colors.add(Color.rgb(33, 10, 208)); colors.add(Color.rgb(2...
asked by 06.08.2016 / 20:57
1
answer

How to get the path to my SQLite database?

I need my app to back up and restore the data that is written to SQLite. I followed some internet tutorials but I am not able to copy the data! String packageName = contexto.getPackageName(); String NOME_BD = "estudos_sql.bd"; String BD_FILEPA...
asked by 05.06.2015 / 12:17