Note that there are some explanatory texts on larger screens.

plurals
  1. POScrolling functionality in android layout
    text
    copied!<p>In my application I want to provide functionality of scrolling entire layout on screen. Here i also wrapped Linearlayout within the ScrollView, but it doesn't provide scrolling facility. The following is my layout code :</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/ScrollView01" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingTop="50dp" android:weightSum="1" android:layout_marginTop="67dp" &gt; &lt;ImageView android:id="@+id/artistImageView" android:layout_width="fill_parent" android:layout_height="150dp" android:paddingTop="10dp" android:layout_marginTop="67dp" android:background="#000000" /&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="BIOGRAPHY" android:textColor="#eeeeee" android:background="#000000" android:id="@+id/txt1" /&gt; &lt;ImageView android:src="@drawable/separator_bio" android:scaleType="fitXY" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#000000" android:id="@+id/sep1" /&gt; &lt;TextView android:id="@+id/artistView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textStyle="bold" android:textColor="#ffffff" android:paddingLeft="10dp" android:paddingRight="5dp" android:background="#000000" /&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p>Please suggest solution.Thanx.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload