当前位置:网站首页>Actionbar navigation bar learning

Actionbar navigation bar learning

2022-07-07 17:37:00 XLMN

actionBar Study

//public class MainActivity extends Activity {
// ActionBar actionBar;
//
// @Override
// protected void onCreate(@Nullable Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// setContentView(R.layout.actionbar);
// // Get change activity Of actionBar
// // Only when the application theme is not closed actionbar when , This code can be returned actionbar
// actionBar=getActionBar();
// }
// // To show the actionbar Button defines the event handling method
// public void showActionBar(View source){
// // Show actionbar
// actionBar.show();
// }
// // For hiding actionbar Button defines the event handling method
// public void hideActionBar(View source){
// // hide actionbar
// actionBar.hide();
// }
//}

<?xml version="1.0" encoding="utf-8"?>




原网站

版权声明
本文为[XLMN]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071527553127.html