0
Hello,
Scrollview does not roll the screen in Landscape mode. Portrait mode works normally.
I’ve done xml with and without android:scrollbars="vertical".
follows the xml code:
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
android:background="@color/branco"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
>
<LinearLayout
android:id="@+id/tblMain"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:stretchColumns="2">...
There are more elements, but the code above should give you an idea of the configuration:
The image of the program is below:
You can’t see it in the image capture, but I’m trying to scroll the image with the mouse in the emulator. The scroll bar does not appear and the screen does not scroll down. I put the same text on top and even put a different color to differentiate one text from the other and see that the text is cut.