On Wed, May 11, 2011 at 8:14 AM, Zanarotti Michele < [email protected]> wrote:
> I want to show to the user what he/she can buy, but make the button > inactive because the overall money is not enough. I saw pratically > every game/site doing this. > Instead of disabling the button, consider showing a dialog that clearly explains they have insufficient funds. Android is graying out the item, but the nonsense is to make it clickable. > Furthermore, when a disabled button is clicked > the onItemSelected event is not launched (as desired), so , why closing the > menu ?? > > Any clue ?? > That's just how it works, AFAICT. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

