can you do a fragment with vertical scroll in android studio?

0

It is for a questionnaire in the form of a list, but the questions below my fragment can not be seen because the fragment does not have the scroll.

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical"
tools:context=".FRPreguntas">

  <TextView
    android:id="@+id/a1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Prue"
    android:textSize="62dp" />

<TextView
    android:id="@+id/a2"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Prue"
    android:textSize="62dp" />

<TextView
    android:id="@+id/a3"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Prue"
    android:textSize="62dp" />

<TextView
    android:id="@+id/a4"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Prue"
    android:textSize="62dp" />

<TextView
    android:id="@+id/a5"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_marginTop="97dp"
    android:text="Prue"
    android:textSize="62dp" />

<TextView
    android:id="@+id/a6"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:text="Prue"
    android:textSize="62dp"
    tools:layout_editor_absoluteX="39dp"
    tools:layout_editor_absoluteY="535dp" />

<TextView
    android:id="@+id/a7"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_marginBottom="137dp"
    android:text="Prue"
    android:textSize="62dp"
    tools:layout_editor_absoluteX="30dp"
    tools:layout_editor_absoluteY="444dp" />

<TextView
    android:id="@+id/a8"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_centerVertical="true"
    android:text="Prue"
    android:textSize="62dp"
    tools:layout_editor_absoluteX="0dp"
    tools:layout_editor_absoluteY="188dp" />

</FrameLayout>

    
asked by tristan romero 30.06.2018 в 05:54
source

0 answers