현재 내 앱에는 오른쪽 상단에있는이 아이콘을 사용하는 Settings
옵션이 포함 된 드롭 다운 메뉴가 있습니다. 이 아이콘 으로 바꾸고 싶습니다. 아래로 탭에서 새보기 호출. 안드로이드 드롭 다운 메뉴에서 설정 버튼
이
내가 현재@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
Intent intent = new Intent(this, appSets.class);
startActivity(intent);
overridePendingTransition(R.anim.abc_fade_in, R.anim.abc_fade_out);
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}