Hi

   I have defined custom views in the various layout .xml files.  However,
all the layouts are using the Linear Layout - put the content would vary.

I would like to create my own widget tag something like
<com.mypackage.MyLinearLayout  />, I would like to pass the layout as a
param to the <com.mypackage.MyLinearLayout layout="@layout/simple.xml" />

How to define new attributes to the custom widgets ? Simply defining a
getter/setter method would work or is there any other references.


Thank you.

Kumar    _/|\_
www.saisk.com
[email protected]
"making a profound difference with knowledge and creativity..."

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