资源简介

PopupWindow可以实现浮层效果,主要方法有:可以自定义view,通过LayoutInflator方法;可以出现和退出时显示动画;可以指定显示位置等。 为了将PopupWindow的多个功能展现并力求用简单的代码实现,编写了一个点击按钮顶部弹出菜单的功能,实现出现和退出时显示动画效果并点击其他区域时弹出层自动消失

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.demo.popupwindowdemo;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        364  2013-06-04 18:54  PopupWindowDemo\.classpath

     文件        851  2013-06-04 18:54  PopupWindowDemo\.project

     文件        889  2013-06-04 18:54  PopupWindowDemo\AndroidManifest.xml

     文件        889  2013-06-04 19:23  PopupWindowDemo\bin\AndroidManifest.xml

     文件        357  2013-06-04 19:23  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\BuildConfig.class

     文件       1205  2013-06-04 19:35  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\MainActivity$1.class

     文件       2416  2013-06-04 19:35  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\MainActivity.class

     文件        447  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$anim.class

     文件        358  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$attr.class

     文件        479  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$dimen.class

     文件        425  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$drawable.class

     文件        535  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$id.class

     文件        457  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$layout.class

     文件        406  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$menu.class

     文件        490  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$string.class

     文件        486  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R$style.class

     文件        785  2013-06-04 19:26  PopupWindowDemo\bin\classes\com\demo\popupwindowdemo\R.class

     文件     451384  2013-06-04 19:30  PopupWindowDemo\bin\classes.dex

     文件     151838  2013-06-04 19:24  PopupWindowDemo\bin\dexedLibs\android-support-v4-3f7b39b903d8088e1b63cdfc614e2636.jar

     文件     198620  2013-06-04 19:30  PopupWindowDemo\bin\PopupWindowDemo.apk

     文件       5964  2013-06-04 19:24  PopupWindowDemo\bin\res\drawable-hdpi\ic_launcher.png

     文件       3112  2013-06-04 19:24  PopupWindowDemo\bin\res\drawable-mdpi\ic_launcher.png

     文件       9355  2013-06-04 19:24  PopupWindowDemo\bin\res\drawable-xhdpi\ic_launcher.png

     文件      17889  2013-06-04 19:24  PopupWindowDemo\bin\res\drawable-xxhdpi\ic_launcher.png

     文件      42694  2013-06-04 19:27  PopupWindowDemo\bin\resources.ap_

     文件        166  2013-06-04 19:23  PopupWindowDemo\gen\com\demo\popupwindowdemo\BuildConfig.java

     文件       2990  2013-06-04 19:26  PopupWindowDemo\gen\com\demo\popupwindowdemo\R.java

     文件      51394  2013-06-04 18:54  PopupWindowDemo\ic_launcher-web.png

     文件     393154  2013-06-04 18:54  PopupWindowDemo\libs\android-support-v4.jar

     文件        781  2013-06-04 18:54  PopupWindowDemo\proguard-project.txt

............此处省略57个文件信息

评论

共有 条评论