I'm trying to do part of my Activity layout in code rather than XML,
but I realize not all the parameters are available in code. For
example

with HorizontalScrollView, there are
android:scrollbarSize
android:scrollbarTrackHorizontal
android:scrollbarThumbHorizontal

corresponding setter methods are not available in code,
unlike android:background that has setBackgroundResource

I'm hoping there's something similar to addRule in LayoutParams, where
I specify the parameter as the first argument, and the value as the
second argument.

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

Reply via email to