> > i have a close button in my project so i want if any one press these button
> > i want my app close

Set a View.onClickListener on the button and call finish() in its
onClick function.

> Good for you. Thanks for letting us know. Please keep us posted as you add
> other buttons.

You should resist the low-hanging fruit, it will blunt your edge :-)

Pent

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