control the speed of scrolling in HorizontalScrollView in android -


hey guys i'm pretty inexpirienced in android development need :)

the issue

i want user able see list of images scroll want them able go next image , not slide , skip images

the question

so there way make scrolling speed slower or horizontalscrollview not kind of view want in order achieve thing want?

my code

  <horizontalscrollview         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_gravity="center"         android:id="@+id/scrollview">          <linearlayout             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:orientation="horizontal"             >              <imageview                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:src="@drawable/sample_0"                 android:id="@+id/dog"/>             <imageview                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:src="@drawable/sample_1"/>             <imageview                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:src="@drawable/sample_2" />             <imageview                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:src="@drawable/sample_3"/>          </linearlayout>          </horizontalscrollview> 

i found information slowing down scroll view in other site android: horizontalscrollview smoothscroll animation time (little google search :p). if want display alot of images, u have problems memory, in situation maybe u should consider managing bitmap memory


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -