ActionBar初級應用之隱藏與顯示

1.新建項目Action Bar 2.隱藏Action Bar 視圖: (1).方法一: 修改:MainActivity 代碼: ActionBar actionBar=getSupportActionBar(); //actionBar.show(); actionBar.hide(); //隱藏顯示ActionBar (2).方法二: 在AndroidManifest中修改theme (3).
相關文章
相關標籤/搜索