Questions tagged as 'android'

1
answer

How to use a Spinner in an AlertDialog?

I'm in doubt how to put a spinner in an AlertDialog, I already have the codes ready, just need to insert the spinner. Array: <string-array name="categoria_array"> <item>Aeroporto</item> <item>Bar</item>...
asked by 24.03.2016 / 09:44
1
answer

Split layout into 2 columns

I have my home screen code that needs to be split into two equal parts. How do I split a linear layout into two columns of equal size?     
asked by 23.11.2015 / 17:44
2
answers

Run callback when closing android keyboard

I have an app running with Cordova and Ionic. In this app I would like to perform an action on a certain controller when the keyboard completely closes. Today I'm using cordova.plugins.Keyboard.close(); . The keyboard normall...
asked by 04.08.2015 / 20:31
2
answers

Load xml file into Gridview?

In my project, I need to select an XML file (table) from my tablet and then read its contents and show it in a GridView. I do not know how to start, does anyone have any idea how? I think with the start code you can understand what I want...
asked by 11.08.2015 / 19:09
2
answers

Which alternative site to Admob to sign up for in the Android app? [closed]

I'm looking for alternate sites Admob to put advertising in Android applications, I'd like you to indicate the best ones.     
asked by 08.06.2015 / 15:13
1
answer

Spinner to select Color

Good night,    I am developing a Personal Finance APP and in my Category register he has to select a color, and I would like to do the same as the image. Does anyone know how I can do or any tutorial that comes close to this. Thanks!     
asked by 11.06.2015 / 02:15
1
answer

SQLite trigger error

I'm trying to create this trigger in SQLite , but I do not know if it's possible. I have a tabea Remedios and a Manutenção . I want, when I have an insert in the Manutenção table, it does an update depending o...
asked by 20.11.2015 / 18:28
2
answers

How to change the color of the edittext line programmatically

I need to change the color of the EditText line programmatically, how do I? I tried to set an xml in the drawable folder, but it does not change the line color anyway ...     
asked by 11.11.2015 / 18:24
2
answers

Drawable or Mipmap ?? What's the difference?

From version 1.1 of the android studio came a new folder called mipmap with the same features as the drawable. How useful is this new folder?     
asked by 03.04.2015 / 16:53
1
answer

Android save user profile picture

I am wondering what is the best method to save the user profile image of the app I am developing, where on the login screen will load the user profile picture and home screen as well. By the research I did have 2 ways: 1st) Save the image in...
asked by 22.12.2015 / 01:25