private final void focusOnView(){
your_scrollview.post(new Runnable() {
@Override
public void run() {
your_scrollview.scrollTo(0, your_EditBox.getBottom());
}
});
}
More Related Contents:
- How to create EditText with rounded corners?
- Scrolling EditText inside ScrollView
- Stop ScrollView from setting focus on EditText
- Stop ScrollView from auto-scrolling to an EditText
- How do i start a new line in String? [duplicate]
- How to stop EditText from gaining focus when an activity starts in Android?
- Replace Fragment inside a ViewPager
- What is the main purpose of setTag() getTag() methods of View?
- Android: How do I prevent the soft keyboard from pushing my view up?
- Android soft keyboard covers EditText field
- Is there a way to define a min and max value for EditText in Android?
- Android EditText delete(backspace) key event
- Soft keyboard open and close listener in an activity in Android
- Turn off autosuggest for EditText?
- How to create EditText accepts Alphabets only in android?
- Prevent dialog dismissal on screen rotation in Android
- EditText error icon and show password missplaced
- EditText maxLines not working – user can still input more lines than set
- How to draw rounded rectangle in Android UI?
- How to hide underbar in EditText
- Is it possible to have a ViewPager inside of a ScrollView?
- Android: Detect softkeyboard open
- Android: Total height of ScrollView
- Soft Keyboard shows up on EditText focus ONLY once
- EditText with soft keyboard and “Back” button
- Getting the pixel color value of a point on an Android View that includes a Bitmap-backed Canvas
- Call to `getDrawingCache` returns null when scroll is enabled
- How to always show scrollbar
- how to get a view from an event coordinates in android?
- Edit Text in ListActivity ListView loses focus when keyboard comes up