Questions tagged as 'android-studio'

0
answers

Validate a minimum of Checkbox on android

I have an activity with a checkbox list and they ask me to validate that you have at least 4 selected check in order to enter a detail. Is there any way to do it? I have researched a lot but I can not find a solution that serves me correctly...
asked by 11.11.2018 / 06:13
0
answers

How to make the main class know which layout it is using (layout-small, layout-normal, layout-large or layout-xlarge)?

I'm making an application that suits multiple screen sizes so I have 4 types of layout: layout-sw360dp layout-sw600dp layout-sw720dp layout-sw800dp What I want to do is that the MainActivity knows what type of layout it is usi...
asked by 14.11.2018 / 15:52
0
answers

Compilation failed; see the compiler error output for details

I am practicing android studio when I try to run my project I get the following error:    Compilation failed; see the compiler error output for details. besides that it shows me a x where you select app. I am new to this, pleas...
asked by 21.11.2018 / 01:01
0
answers

Queries in FIREBASE with expandableListView

Hello, someone could help me to check that I am doing wrong in my query, what happens is that I can not recover the type in firebase of each question that I select in the expandable ListView Please and thank you .. myRef.child("...
asked by 21.11.2018 / 00:49
0
answers

Enter and display data on Android with Firebase

is that I have a question and it is a bit urgent. I need to do a project in Android Studio where I have a client (id, name), a product (number, product name), the goal is to create these 2 and show them as an invoice, something like showing the...
asked by 09.11.2018 / 05:20
0
answers

How to remove the hamburger icon and put the back icon [Android]

How can I remove the Hamburger icon from my NavigationView when I go to another fragment and then change it to a "back" icon? NavigationActivity.kt: package com.example.gonzalo.proyecto_android_2018.activities import android.support.v4.a...
asked by 09.11.2018 / 16:54
0
answers

How to emulate Froyo (Api Level 8, Android 2.2) in Android Studio 3.2?

I have downloaded the image of Froyo from the ADV manager, but when trying to emulate it, the following eror appears to me Emulator: emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in...
asked by 08.11.2018 / 13:46
0
answers

help with visualizing data in app

I have a problem, it's about saving data and then reading them through the firestone, at the time of saving it does it well, but when I want to see what the app saves, it closes, I do not know much about the app. package com.example.luis.myapp...
asked by 02.11.2018 / 20:24
1
answer

Problems with ScrollView

I have implemented a scroll for my user registry layout, and when I run the app, the scroll does not work for me, it also generates a spacing below, like a margin_botom and it does not let me pull down my elements that are inside the Constraint_...
asked by 02.11.2018 / 23:08
1
answer

Increase the ID of a TextView with a loop

I'm new to Android and I'm trying to make a 9x9 table that is full of TextViews in each cell. And I want to put numbers from an array with a setText () in each TextView. The problem is that I do not know how to make the TextView id automatic....
asked by 03.11.2018 / 21:48