[android-developers] Re: close button

2011-09-08 Thread Pent
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

[android-developers] Re: close button

2011-09-08 Thread Indicator Veritatis
Mark is right. Implementing a 'close box' under Android is a bad idea, because it is misleading to the user. The truth is that the Android OS does NOT support the notion of 'close' for apps. It implements a different paradigm, one more like SymbianOS (yechh!) than like Windows. The user leaves