Re: [mono-android] Resource.Id.home missing

2012-05-23 Thread Paul Donovan
ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Greg Shackles Sent: Wednesday, 23 May 2012 9:39 PM To: Discussions related to Mono for Android Subject: Re: [mono-android] Resource.Id.home missing You're looking for Android.Resource.Id.Home, which is part of the SDK and not in the gene

Re: [mono-android] Resource.Id.home missing

2012-05-23 Thread Greg Shackles
You're looking for Android.Resource.Id.Home, which is part of the SDK and not in the generated resources file in your project: http://docs.mono-android.net/?link=F%3aAndroid.Resource.Id.Home On Wed, May 23, 2012 at 1:41 AM, pdonovan wrote: > Hi, > > I'm creating a MonoDroid app that targets sdk

[mono-android] Resource.Id.home missing

2012-05-22 Thread pdonovan
Hi, I'm creating a MonoDroid app that targets sdk version 12. I'm using the ActionBar and would like to respond to clicks on the home icon. The documentation at http://developer.android.com/guide/topics/ui/actionbar.html says that onOptionsItemSelected() will be called with a value of Android.r.id