On Thu, Mar 17, 2011 at 10:46 AM, Andrea Richiardi < [email protected]> wrote:
> "Is there a way to get android:XXX param from xml e assign them via code?" > Override the constructor that takes an AttributeSet, which is what is called when the View is inflated from XML. It should do all the work for you. Then you can parse out custom properties if you have any for you custom view. http://developer.android.com/reference/android/widget/RelativeLayout.html#RelativeLayout(android.content.Context, android.util.AttributeSet) ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

