資源簡介
當你需要在一個activity做一個選擇菜單,或者其他可操作的懸浮的窗口時,你不能影響該activity的正常運行(比如播放器界面的播放畫面不停止,動畫不停止等),所以就需要考慮到Dialog風格的activity了,關鍵點就是設置dialog全屏顯示,因為根據(jù)系統(tǒng)的theme.dialog風格,dialog的邊界是限定了大小的。不能做出自己想要的懸浮窗風格,所以這個demo的參考就再這。簡單,但是有用。

代碼片段和文件信息
/**?Automatically?generated?file.?DO?NOT?MODIFY?*/
package?com.example.fullscreendialogdemo;
public?final?class?BuildConfig?{
????public?final?static?boolean?DEBUG?=?true;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????475??2014-07-02?09:12??FullScreenDialogDemo\.classpath
?????文件????????856??2014-07-02?09:12??FullScreenDialogDemo\.project
?????文件????????177??2014-07-02?09:12??FullScreenDialogDemo\.settings\org.eclipse.jdt.core.prefs
?????文件???????1132??2014-07-02?09:37??FullScreenDialogDemo\AndroidManifest.xm
?????文件???????1132??2014-07-02?09:37??FullScreenDialogDemo\bin\AndroidManifest.xm
?????文件????????373??2014-07-02?09:14??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\BuildConfig.class
?????文件????????967??2014-07-02?09:37??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\DialogActivity.class
?????文件???????1161??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\MainActivity$1.class
?????文件???????1319??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\MainActivity.class
?????文件????????382??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$attr.class
?????文件????????503??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$dimen.class
?????文件????????488??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$drawable.class
?????文件????????499??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$id.class
?????文件????????484??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$layout.class
?????文件????????460??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$menu.class
?????文件????????559??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$string.class
?????文件????????508??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R$st
?????文件????????813??2014-07-02?09:46??FullScreenDialogDemo\bin\classes\com\example\fullscreendialogdemo\R.class
?????文件?????557816??2014-07-02?09:51??FullScreenDialogDemo\bin\classes.dex
?????文件?????189231??2014-07-02?09:51??FullScreenDialogDemo\bin\dexedLibs\android-support-v4-3ac97c6207f4de3e91a3b95713035d90.jar
?????文件????????943??2014-07-02?09:51??FullScreenDialogDemo\bin\dexedLibs\annotations-c30e8f9c582c00a597b9781bed9804da.jar
?????文件?????236873??2014-07-02?09:51??FullScreenDialogDemo\bin\FullScreenDialogDemo.apk
?????文件????????120??2014-07-02?09:14??FullScreenDialogDemo\bin\jarlist.cache
?????文件???????5964??2014-07-02?09:51??FullScreenDialogDemo\bin\res\crunch\drawable-hdpi\ic_launcher.png
?????文件???????3112??2014-07-02?09:51??FullScreenDialogDemo\bin\res\crunch\drawable-mdpi\ic_launcher.png
?????文件???????9355??2014-07-02?09:51??FullScreenDialogDemo\bin\res\crunch\drawable-xhdpi\ic_launcher.png
?????文件??????17889??2014-07-02?09:51??FullScreenDialogDemo\bin\res\crunch\drawable-xxhdpi\ic_launcher.png
?????文件??????42954??2014-07-02?09:51??FullScreenDialogDemo\bin\resources.ap_
?????文件????????174??2014-07-02?09:12??FullScreenDialogDemo\gen\com\example\fullscreendialogdemo\BuildConfig.java
?????文件???????2952??2014-07-02?09:46??FullScreenDialogDemo\gen\com\example\fullscreendialogdemo\R.java
............此處省略63個文件信息
- 上一篇:Open SSl 1.1
- 下一篇:嵌入式系統(tǒng)語音采集與播放程序設計
評論
共有 條評論