Problems with layout of a list

0

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 options. How can I leave the necessary space between answers so they do not overlap?

I also try to put the TextViewQuestion justified to make it more aesthetic but I do not get it.

Finally the last ImageView (chek) I would like to put it right at the end of the possible answer, that is, before the layout of a question ends but it is covered by the next question and it is not seen. Thank you very much!

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id = "@+id/activity_pregunta"
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ImageView
        android:layout_marginTop="40dp"
        android:layout_width="120dp"
        android:layout_height="120dp"
        app:srcCompat="@mipmap/ic_launcher"
        android:id="@+id/imageViewQuestion" />

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="230dp"
        android:layout_height="match_parent">

        <TextView
            android:text="TextView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/textViewQuestion" />

            <RadioGroup
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:id = "@+id/radiogroup_answers">

                <RadioButton
                    android:text="RadioButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/radioButton" />

                <RadioButton
                    android:text="RadioButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/radioButton2" />

                <RadioButton
                    android:text="RadioButton"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/radioButton3" />

        </RadioGroup>

    </LinearLayout>

    <ImageView
        android:layout_width="30dp"
        android:layout_height="30dp"
        android:layout_gravity="bottom|right"
        android:id="@+id/check" />

</LinearLayout>
    
asked by user28288 22.01.2017 в 11:48
source

0 answers