Questions tagged as 'android-studio'

2
answers

Problem with preview interface in Android studio

The fact is that when I create a project when adding any component to the preview interface it does not let me see it, it only lets me see it if I execute the application in an emulator. Then I will leave a photo so it can be clearer. If anyo...
asked by 16.09.2018 / 22:09
1
answer

Android Studio two buttons reproduce same file

Hello, how are you? I am trying to make a button of sounds in Android Studio and I put two buttons "btn1" and "personasjitos" (I leave the code below) when trying the application any of the two buttons I played the same file, Android Studio I do...
asked by 25.09.2018 / 06:33
1
answer

ReciclerView android studio

I have a project and I do not know how to edit it. The problem I have is that I need a title and a description. But right now both the title and the description are filled with the same information. How do I modify it? What do I have to do?...
asked by 11.10.2018 / 12:20
2
answers

Help with login in android studio

Sorry for the beginner, but I'm recently introducing myself in this world of programming, what happens is that I want to redirect the activity login to another activity but I do not know how, when logging in correctly, the user is validated but...
asked by 24.10.2018 / 08:54
1
answer

How do I get the View in a Fragment?

I'm starting to program on Android with Kotlin and I'm a bit confused with the Null Safety. The main problem comes when wanting to do a findViewById from the getView () (view in kotlin) in a fragment, I have been consulted and I have only fou...
asked by 28.04.2018 / 17:36
1
answer

Pass values between Activity AndroidStudio

I want to pass two values from one Activity to another, this is my code MainActivity public class MainActivity extends AppCompatActivity implements View.OnClickListener { EditText ip_intro; Button botonPlantaBaja; Button botonPlanta0;...
asked by 09.03.2018 / 12:54
1
answer

java.util.Listandroid.widget.ImageView "is not supported error android

I am trying to pass a List (From an activity, AddClothesActivity) to create a class (Clothes). This step of information I do in the constructor. The problem is that I miss a compilation error in which it says: Field "clothesList" of type "jav...
asked by 22.03.2018 / 12:51
3
answers

A manifest file prevents me from accessing the internet on Android

I have a problem, the following manifest prevents me from accessing the internet in Android . <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.educaapp.toole...
asked by 10.03.2017 / 05:30
2
answers

How to divide a TableRow into two equal parts?

I am working a screen that will be a menu, there will be 4 options and I am a TableLayout and in a TableRow I have put two buttons, the situation is if there is a way to divide is TableRow in two equal parts, is that it gives the impression of h...
asked by 28.03.2018 / 08:22
1
answer

Problem with a ListView and its elements

It turns out that I have a list where certain football matches and their phases are displayed, when it comes to displaying and showing its elements is perfect, the problem occurs in the following since each match contains a phase field like this...
asked by 27.03.2018 / 00:08