My code is as shown below:
<LinearLayout 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:background="#000000"
android:orientation="vertical" >
<ImageView
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/title"
android:contentDescription="@string/title_name" />
<TextView
android:id="@+id/space"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<ScrollView android:id="@+id/scroll_view1"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#000000"
android:orientation="vertical">
---------
---------
</LinearLayout>
</ScrollView>
<TextView
android:id="@+id/space10"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/copyright"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/copyright_text"
android:textColor="#ffffff"/>
</LinearLayout>
Here I can see the above textview and imageview before scrollview, but not the bottom textview after scrollview. Is there any mistake in my code? Please help me out.
Try this
Hope it helps…!!!