Android Development: Improve EditText Scrolling?

Is there any way I can increase my EditText's scrolling? I want to make it scroll like it does on the web browse, smooth and fast. Is this possible?

Thanks, Alex.

Answers


Webview uses Smooth scrolling. A scroll view also have this property.

  • Add the text view inside a Scrollview.
  • Make an ID for the scrollview and create reference in your code.
  • Place the EditText Within this scroll view(Make the editText to Wrap Content).

Enable Smooth Scrolling using the below method,

public void setSmoothScrollingEnabled(boolean smoothScrollingEnabled)

Control the smooth scrolling by specifying bounds for the scroll, using the below method...

public final void smoothScrollBy (int dx, int dy)
//dx,dy.. offset (Relative Position)

public final void smoothScrollTo (int x, int y)
//scroll to x and y (actual position)

You can also imitate the overscroll behavior using the following Method,

public void setOverScrollMode (int mode)

Also you can add Fling Action using the following method,..

public void fling (int velocityY)

Need Your Help

html table format rows and columns

html css

I am having problems with formatting a table. For some reason, the colspans and rowspans are not working and the cells are just dropped into the first row and column available. I have made column g...

Create Nested Layers Jquery-Layout

jquery jquery-layout

I am trying to created nested layers. I want there to be two columns (west and east) inside of my center layer. I know it seems like I could just split and do west and east columns instead of cente...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.