i creating dynamic layout contains edit text. want make edit text scrollable.
questionentry.setmaxlines(1); questionentry.setverticalscrollbarenabled(true); questionentry.setmovementmethod(new scrollingmovementmethod());
using code made edit text scrollable. problem when typing something. if reaches end of edit text, stop typing text , not automatically jump next line. if press enter key, jump. want make automatic.
questionentry.setscroller(new scroller(mycontext)); questionentry.setmaxlines(1); questionentry.setverticalscrollbarenabled(true); questionentry.setmovementmethod(new scrollingmovementmethod());
i made changes in previous code.
above posted new code.
it s working...thanks all
Comments
Post a Comment