Sunday, 8 September 2013

How to use cusotm xml in view which I created by extending LinearLayout class?

How to use cusotm xml in view which I created by extending LinearLayout
class?

I need to create widget similar to web tabs, so I have crated simple
tabs.xml with linear laoyut inside and buttons, but I need additional
logic to insert in that view so simple include tabs.xml in Activity is not
enough(I am trying to avoid to add push all code in activity because it
doesn't belong there). How to use infalte tabs.xml in view which I created
by extending LinearLayout class ?

No comments:

Post a Comment