Questions tagged as 'android'

0
answers

Problems with layout of a list

I'm doing an app on android. It is a Quiz style application with only one correct answer. I have this layout in question but what happens is that I overlap the answers. Those that are long are not seen at all and are covered by the following opt...
asked by 22.01.2017 / 10:48
0
answers

How to save data from TextInputEditTex of Android Studio in FirebaseDatabase?

In Firebase: I have already created my Firebase application In Database > Rules, I have the following: { "rules": { ".read": "true", ".write": "true" } } On Android: I already imported compile 'com.google.firebase: f...
asked by 22.01.2017 / 17:47
0
answers

Generate Alarms with respect to a specific day and time

I need to create alarms in android given the time, from so much research try to do it, I would like to be guided or give me an idea that I am doing wrong since I am noob (next to many) and the app does not generate me to the notification...
asked by 28.01.2017 / 13:19
1
answer

how can I implement a segmented recycler view

Good evening, I am trying to implement sections in my recyclerview and the info that I find I do not understand :( it is worth noting that I am new to android hehe hope someone can help me or tell me a simple tutorial please I am trying to do so...
asked by 27.01.2017 / 04:42
2
answers

Problem with list of options with string-array on Android

I am creating a list of options. My problem is when I select and then I want to select that same option. Mark me error in this part: mMercado.remove(position); Strings Code: <string-array name="mercado"> <item>Nacional...
asked by 20.02.2017 / 06:31
2
answers

Show an AlertDialog with the result of a mathematical operation

I am making an application where there is only one main Activity and it shows different Fragments with mathematical operations. I would like the result to be shown in an AlertDialog and not in a TextView that is how I have it. I leave the cod...
asked by 20.02.2017 / 15:37
1
answer

Change the Navigation Drawer information from its parent activity [duplicated]

Simple, I have a navigation drawer (auto generated by the andorid studio assistant) happens that he generates his main activity which calls the drop-down menu and this in turn is divided into 2 sections ie the header and the body ( that is, th...
asked by 19.01.2017 / 23:17
0
answers

Count checkboxes marked within a TableLayout

I have a list of checkboxes and I want to know how many of them are checked before continuing with the flow of the application. Each of the checkboxes is in a TableRow within a TableLayout. The list of checkboxes is written manually, they do not...
asked by 27.02.2017 / 17:51
1
answer

Scroll in FrameLayout (ActionBar)

I have disabled the ActionBar from the class with:    getSupportActionBar (). hide (); And in my activity I have this code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/...
asked by 17.01.2017 / 14:43
0
answers

I have a ListView in a fragmet and I want to go to another fragment

when I run the app it closes. This is the error:    01-18 12: 33: 01.371 5953-5953 / com.aguila0017.fruits E / AndroidRuntime:   FATAL EXCEPTION: main                                                                        Process: com.aguila0...
asked by 18.01.2017 / 17:40