SO I am still a bit confused on how to control the layout of a View
object. I have noticed two things

1) the current API is limited and cannot set all the view properties
which are exposed as XML
2) that the complete control of a View layout is best controled thru
an XML object

However for my application I am dynamically creating views and adding
them to LinearLayouts. I have been able to use setTextColor()
setTextSize() to avoid using XML objects up to this point BUT I am
encountering position issues, for instance centering a TextView to the
parent width.

Long story show can someone provide me some example code to show how I
might apply a layout from an xml file to an exisisting TextView?

--~--~---------~--~----~------------~-------~--~----~
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