文件名称:Sample_9_1
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Android] [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 51kb
- 下载次数:
- 0次
- 提 供 者:
- 杨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Android.view.Menu接口代表一个菜单,android用它来管理各种菜单项,注意我们一般不自己创建menu,因为每个Activity默认都自带一个,我们要做的是为它加菜单项和响应菜单项的点击事件。Andorid.view.MenuItem代表每个菜单项,android.view.SubMenu代表子菜单,其三者的关系如下图所示,子菜单可以包裹多个菜单项,SubMenu继承了Menu的addSubMenu方法,但不能调用,因为不能嵌套调用。OnCreateOptionsMenu()和OnOptionsMenuSelected()是Activity中提供的两个回调方法,用于创建菜单项和响应菜单项的点击。onOptionsMenuClosed菜单关闭后发生的动作 onPrepareOptionsMenu选项菜单显示之前onPrepareOptionsMenu方法会被调用,你可以用此方法来根据打当时的情况调整菜单。onMenuOpened打开后发生的动作。-Android.view.Menu interface represents a menu, android use it to manage a variety of menu items, note that we generally do not create your own menu, each Activity default comes with one, we need to do is it food to eat a single and response menu item click event. Representatives of each menu item Andorid.view.MenuItem android.view.SubMenu on behalf of the sub-menu, the three relations as shown below, the sub-menu can be wrapped multiple menu items, SubMenu inherit the Menu addSubMenu method, but you can not call , the call can not be nested. The OnCreateOptionsMenu () and OnOptionsMenuSelected () Activity in the callback method used to create menu items and respond to the menu item click. after the closure of the onOptionsMenuClosed menu the action onPrepareOptionsMenu option menu is displayed before the onPrepareOptionsMenu method is called, you can use this method to fight the situation at that time adjustment menu. onMenuOpened the action opens.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Sample_9_1\.classpath
..........\.project
..........\AndroidManifest.xml
..........\bin\classes\wyf\ytl\MyReceiver.class
..........\...\.......\...\...\R$attr.class
..........\...\.......\...\...\R$drawable.class
..........\...\.......\...\...\R$id.class
..........\...\.......\...\...\R$layout.class
..........\...\.......\...\...\R$string.class
..........\...\.......\...\...\R.class
..........\...\.......\...\...\Sample_9_1$1.class
..........\...\.......\...\...\Sample_9_1.class
..........\...\classes.dex
..........\...\res\drawable-hdpi\icon.png
..........\...\...\.........ldpi\icon.png
..........\...\...\.........mdpi\icon.png
..........\...\resources.ap_
..........\...\Sample_9_1.apk
..........\default.properties
..........\gen\wyf\ytl\R.java
..........\project.properties
..........\res\drawable-hdpi\icon.png
..........\...\.........ldpi\icon.png
..........\...\.........mdpi\icon.png
..........\...\layout\main.xml
..........\...\values\strings.xml
..........\src\wyf\ytl\MyReceiver.java
..........\...\...\...\Sample_9_1.java
..........\bin\classes\wyf\ytl
..........\...\.......\wyf
..........\...\res\drawable-hdpi
..........\...\...\drawable-ldpi
..........\...\...\drawable-mdpi
..........\gen\wyf\ytl
..........\src\wyf\ytl
..........\bin\classes
..........\...\res
..........\gen\wyf
..........\res\drawable-hdpi
..........\...\drawable-ldpi
..........\...\drawable-mdpi
..........\...\layout
..........\...\values
..........\src\wyf
..........\assets
..........\bin
..........\gen
..........\res
..........\src
Sample_9_1
..........\.project
..........\AndroidManifest.xml
..........\bin\classes\wyf\ytl\MyReceiver.class
..........\...\.......\...\...\R$attr.class
..........\...\.......\...\...\R$drawable.class
..........\...\.......\...\...\R$id.class
..........\...\.......\...\...\R$layout.class
..........\...\.......\...\...\R$string.class
..........\...\.......\...\...\R.class
..........\...\.......\...\...\Sample_9_1$1.class
..........\...\.......\...\...\Sample_9_1.class
..........\...\classes.dex
..........\...\res\drawable-hdpi\icon.png
..........\...\...\.........ldpi\icon.png
..........\...\...\.........mdpi\icon.png
..........\...\resources.ap_
..........\...\Sample_9_1.apk
..........\default.properties
..........\gen\wyf\ytl\R.java
..........\project.properties
..........\res\drawable-hdpi\icon.png
..........\...\.........ldpi\icon.png
..........\...\.........mdpi\icon.png
..........\...\layout\main.xml
..........\...\values\strings.xml
..........\src\wyf\ytl\MyReceiver.java
..........\...\...\...\Sample_9_1.java
..........\bin\classes\wyf\ytl
..........\...\.......\wyf
..........\...\res\drawable-hdpi
..........\...\...\drawable-ldpi
..........\...\...\drawable-mdpi
..........\gen\wyf\ytl
..........\src\wyf\ytl
..........\bin\classes
..........\...\res
..........\gen\wyf
..........\res\drawable-hdpi
..........\...\drawable-ldpi
..........\...\drawable-mdpi
..........\...\layout
..........\...\values
..........\src\wyf
..........\assets
..........\bin
..........\gen
..........\res
..........\src
Sample_9_1