9
Kiedy użyłem ActionBarSherlockActionBarSherlock android.R.id.home <API 11
public boolean onOptionsItemSelected(MenuItem item)
{
switch (item.getItemId())
{
case android.R.id.home:
this.finish();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
Zauważyłem, że android.R.id.home jest z API 11. Jak możemy się upewnić android.R. id.home ma rację w API 8?