我在这里学习本教程-http://developer.android.com/training/implementing-navigation/ancestral.html-用于实现向上导航。有点像用户按下手机上的后退按钮,但onBackPressed()方法不会在按下“向上”按钮时触发。在教程中,他们表明您在onOptionsItemSelected()方法中捕获了R.id.home。此网页-http://developer.android.com/reference/android/R.id.html-显示R.id.home的值应等于16908332,但它不在我的应用程序中。在下面