Hello, I would like to know how I could do to keep a still image and the information roll underneath it, with all of that inside a ScrollView, follows layout and XML print
Code:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.hs.gui.testelayout.TelaTres"
android:orientation="vertical">
<TextView
android:layout_width="100dp"
android:layout_height="15dp"
android:text="Tela 3 - | - Final"/>
<ImageView
android:layout_width="350dp"
android:layout_height="250dp"
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:paddingBottom="15dp"
android:foregroundGravity="center"
android:src="@drawable/guerra_civil_2"
android:scrollIndicators="start"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/sinopse_CivWar"
android:textSize="25dp"/>
</LinearLayout>
</ScrollView>
I thought about keeping the image out of ScrollView but this does not seem possible (or I do not know how to do) Thank you for your attention:)