reusing the views

anuj0sharma

Member
Licensed User
Longtime User
Hi..a simple question.
I have a panel in an activity..in this panel i m loading 5-6 layouts one by one.
in all the layouts there has to be a button which is doing same things in all the cases..how to have one button in all the layouts.?

i know having a button independent of layouts can be added directly to activity everytime..
looking for solutions apart from this.
regards,
 

kickaha

Well-Known Member
Licensed User
Longtime User
What you could do is set the EventName (in designer) to be the same for all of them - that way they will use the same code.
 
Upvote 0

anuj0sharma

Member
Licensed User
Longtime User
What you could do is set the EventName (in designer) to be the same for all of them - that way they will use the same code.

thanks..thats what i m doing sir..but still i've to have a button view in all the layouts..i was asking to have same button view shared across all the layouts..
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…