blocking click and focus on layout and on all children

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

blocking click and focus on layout and on all children

Postby danielbenedykt » Tue May 26, 2009 1:40 am

Hi

I was wondering if its possible to block the onclick events on a layout and all the children inside the layout.

for example, I have a LinearLayout and inside that I have buttons and an editText.
At a certain point I don't want the user to click on the buttons or edit the text.
Is there a way to block that?
Do I have to do it for each view? or I can do it for a Layout?
What is the best way to do this?

Thanks

Daniel
danielbenedykt
Freshman
Freshman
 
Posts: 7
Joined: Tue May 26, 2009 1:33 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 6 guests