I am trying to use a scroll view in my pop up window, and it works to an extent, but when I scroll down the text is still visible – how do I use this code in a pop up window?
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#333333">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dp" >
<TextView
android:id="@+id/popupView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:text="@string/helpmenu"
android:textSize="1600pt" />
<Button
android:id="@+id/close"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:text="Close" />
</LinearLayout>
jcw i found solution to this problem i know its to late, but still for any future use.
Make use of any parent layout like Frame or linear, relative above scroll View and the problem you are facing will be gone.