Note that there are some explanatory texts on larger screens.

plurals
  1. POAutomatic Scroll Text Within TextView Android
    primarykey
    data
    text
    <p>I am creating application which is having textview with lots of text and want to perform automatic vertical scrolling till the text ends. But i am not getting the way to perform automatic scroll. </p> <p>I have reffred <a href="https://github.com/blessenm/SlideshowDemo" rel="nofollow">https://github.com/blessenm/SlideshowDemo</a> project. But could not get success with this code..</p> <p>Here is my XML 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:id="@+id/vertical_scrollview_id" android:layout_width="wrap_content" android:layout_height="0dip" android:layout_weight="1.0" android:fadingEdge="none" android:scrollbars="none" &gt; &lt;LinearLayout android:id="@+id/vertical_outer_layout_id" android:layout_width="fill_parent" android:layout_height="350dp" android:orientation="vertical" android:layout_marginTop="67dp" android:paddingBottom="100dp" &gt; &lt;TextView android:id="@+id/lyricView" android:layout_width="fill_parent" android:layout_height="250dp" android:layout_marginTop="67dp" android:background="#000000" android:gravity="center" android:maxLines="16" android:paddingBottom="5dp" android:paddingTop="8dp" android:textColor="#ffffff" android:textStyle="bold" android:width="200dp" /&gt; &lt;ProgressBar android:id="@+id/showLoading" style="?android:attr/progressBarStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginTop="-150dp" android:background="#000000" /&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p>Pleaze give me some idea. Thanx in advance. My simple scrolling functionality works well. But i want to perform automatic vertical scroll..</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.
 

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