Note that there are some explanatory texts on larger screens.

plurals
  1. POI want to scroll only a TextView
    primarykey
    data
    text
    <p>I'm developing a Stopwatch Application.</p> <p>I want to scroll only a TextView.</p> <p>Here's XML file.</p> <p>activity_main.xml</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#001729" android:orientation="vertical" &gt; &lt;Button android:id="@+id/btn_rec" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:enabled="false" android:onClick="myOnClick" android:text="Record" /&gt; &lt;Button android:id="@+id/btn_start" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@+id/btn_rec" android:layout_alignParentLeft="true" android:onClick="myOnClick" android:text="Start" /&gt; **&lt;TextView android:id="@+id/record" android:layout_width="fill_parent" android:layout_height="500dp" android:layout_below="@+id/time_out" android:layout_above="@+id/btn_start" android:layout_alignParentLeft="true" android:padding="10dp" android:textColor="#FFFFFF" android:textSize="20sp" /&gt;** &lt;TextView android:id="@+id/time_out" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/relativeLayout1" android:layout_marginTop="37dp" android:gravity="center" android:text="00:00:00" android:textColor="#FFFFFF" android:textSize="60sp" /&gt; </code></pre> <p></p> <p>I want to scroll only TextView in bold.</p> <p>I don't know how to use ScrollView in this case.</p> <p>How can I do? thanks :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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