Questions tagged as 'android-studio'

1
answer

Screenshot on Android (Phone)

I have managed to capture the screen in Android, but it is only the application that invokes it, that is, it does not take the capture of the phone. //Como se invoca el metodo capturaPantalla(getWindow().getDecorView()); private File captura...
asked by 26.12.2017 / 20:00
1
answer

Problem with BottomNavigationView

When a item is selected from the menu it should be highlighted to make sure it is selected. That works until I implement the OnNavigationItemSelectedListener When I do this the bar continues to work but the highlighting does not...
asked by 12.12.2017 / 19:28
1
answer

Disappear text in libgdx

Hello everyone I am with android studio and I am trying to make a text appear and disappear .. for now I have this: Container container1 = new Container(textLbl2); container1.setTransform(true); container1.center(); con...
asked by 06.12.2017 / 20:49
1
answer

ArrayList ArrayList in a GridView

What kind of friends, I need help to create a GridView in android studio just that I have to format it vertically, well I explain myself better. my database brings me 12 elements and what I do is add it to a ArrayList<String>...
asked by 06.12.2017 / 21:35
1
answer

How to close a WebView automatically after a certain event (Android)?

I am working with TypeForm forms that I show them through WebView in my application. What I'm trying to do is close the WebView after they finish the form. When the form is completed on the screen, a text appears thank...
asked by 03.12.2017 / 16:46
0
answers

ScrollView with CardView does not work

I want to use a ScrollView to put in a CardView and a vertical button, I made this XML and if it compiles, but when it is time to test it on a device, the app closes immediately. The device on which I am doing the test is API 22: <?xml vers...
asked by 03.12.2017 / 00:58
0
answers

Can you help me polish this code?

Good I have a RadiogGroup called rdgroup and in four RadioButton called rbtna rbtnb rbtnc and rbtnd respectively, what I try to do is that when you choose one of the raiobutton look in my database...
asked by 04.12.2017 / 05:48
2
answers

I can not pass info from one ListView to another Activity (ANDROID)

After a long time trying to solve the problem I'm not left other than resorting to this means where I hope someone can help me with this problem. what happens is that I try to send information from a row of a ListView to a new activity where the...
asked by 05.12.2017 / 23:49
2
answers

Error to show an Activity, elements stacked position 0,0

Good morning, I am starting to work with the AndroidStudio tool (I am a total beginner) and I have a small "error" (I really do not know what it is). My design is like this: But when emulating the application, it is shown in this way:...
asked by 12.09.2017 / 05:41
0
answers

Display data from a table in Android Studio

I would like to list the data of my table but I do not get it. I do not know if my query is wrong, I have looked through all the forums and can not find anything Class List public class Lista extends AppCompatActivity { ListView lv ; ArrayL...
asked by 24.11.2017 / 23:58