內(nèi)容同上case?R.id.add_item:
????Toast.makeText(this,?"You?clicked?Add",?Toast.LENGTH_SHORT).show();
????break;
case?R.id.remove_item:
????Toast.makeText(this,?"You?clicked?Remove",?Toast.LENGTH_SHORT).show();
????break;
default:
3 回答

特侖蘇沒(méi)我純
TA貢獻(xiàn)11條經(jīng)驗(yàn) 獲得超9個(gè)贊
點(diǎn)擊?"Tools" -> "Android" -> "Sync Project with Gradle Files"
添加回答
舉報(bào)
0/150
提交
取消