private void setOptionsMenuVisible(int visibility) {
int id = Resources.getSystem().getIdentifier("split_action_bar", "id", "android");
View optionsMenu = findViewById(id);
if (optionsMenu != null) {
optionsMenu.setVisibility(visibility);
}
}
阅读(1080) | 评论(0) | 转发(0) |