Tuesday, October 8, 2013

[android help] (Android) How can I scroll item to middle of screen in scrollView when I press them


(Android) How can I scroll item to middle of screen in scrollView when I press them


(Android) How can I scroll item to middle of screen in scrollView when I press them - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
















My project need to insert lots of data,I use scrollview to put them in one page.


Now I want it can scroll the item I press(primary Edittext) to the middle of screen.


I tried to use onFocusChangeListener()+scrollTo() with edittexts,but doesn't work very well.


Is there any better way to do it?


I want to make it act like this



















default






Read more

stackoverflow.comm



No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...