Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this may satisfy your requirement.</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#cccfff" android:gravity="center" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_margin="10dp" android:background="#ffffff" android:gravity="center_vertical" android:orientation="vertical" android:paddingBottom="40dp" android:paddingLeft="20dp" android:paddingRight="20dp" android:paddingTop="40dp" &gt; &lt;ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16dp" android:src="@drawable/ic_launcher" /&gt; &lt;TextView android:id="@+id/tip_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="12dp" android:text="Title" /&gt; &lt;TextView android:id="@+id/tip_description" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="biruDescription description..." /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>One more line in your java code</p> <pre><code>TextView tip_description = (TextView) findViewById(R.id.tip_description); tip_description.setMovementMethod(new ScrollingMovementMethod()); </code></pre> <p>This will scroll your description content rather whole layout.</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