> Can someone help me as to how I can add a scroll bar (horizontal and
> vertical) to an edit text?
>
> Please help me out, I need to do it through java code and not through
> xml

setHorizontallyScrolling(boolean)

setRawInputType(int), specifying either TYPE_TEXT_FLAG_MULTI_LINE or
TYPE_TEXT_FLAG_IME_MULTI_LINE as appropriate.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to