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 <[email protected]> wrote: > 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.home when the user clicks the home icon. > > The problem is that my Resource.designer.cs file doesn't contain an Id.home > value. Is there something I have to do to get the resource builder to add > one? > > I'm using Mono for Android: 4.2.1.196198126 on OS X. > > Regards, > Paul > > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Resource-Id-home-missing-tp5709987.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid >
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
