Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is the final code which worked for my application.</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" &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" android:layout_marginTop="65dp" android:layout_marginBottom="163dp" android:background="#000000" android:scrollbarStyle="insideInset" &gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="250dp" android:orientation="vertical" &gt; &lt;TextView android:id="@+id/artistName" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textStyle="bold" android:textColor="#ffffff" android:textSize="16px" /&gt; &lt;ImageView android:id="@+id/artistImageView" android:layout_width="fill_parent" android:layout_height="150dp" android:layout_marginTop="2dp" android:paddingTop="10dp" android:paddingLeft="100dp" android:background="#000000" android:layout_marginRight="50dp" /&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="BIOGRAPHY" android:textStyle="bold" android:textColor="#ffffff" 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" android:paddingBottom="2dp" /&gt; &lt;TextView android:id="@+id/artistView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textStyle="bold" android:textColor="#eeeeee" android:paddingLeft="20dp" android:background="#000000" android:lines="25" android:layout_marginRight="-20dp" /&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; &lt;/LinearLayout&gt; </code></pre>
 

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