Olá. Estou acompanhando passo a passo o curso mas ao implementar o ScrollView não está rolando a tela, testei no emulador físico e virtual, alguém teria uma dica?
activity_form_produto.xml:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".ui.activity.FormularioProdutoActivity">
<EditText
android:id="@+id/nome"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:hint="Nome"
android:inputType="text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/descricao"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="Descrição"
android:inputType="text"
app:layout_constraintEnd_toEndOf="@id/nome"
app:layout_constraintStart_toStartOf="@id/nome"
app:layout_constraintTop_toBottomOf="@id/nome" />
<EditText
android:id="@+id/valor"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="Valor"
android:inputType="numberDecimal"
app:layout_constraintEnd_toEndOf="@id/descricao"
app:layout_constraintStart_toStartOf="@id/descricao"
app:layout_constraintTop_toBottomOf="@id/descricao" />
<Button android:id="@+id/botao_salvar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:text="Salvar"
app:layout_constraintVertical_bias="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/valor" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>