摘要: xml代码:<Button android:id="@+id/button5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/fullscreen" android:onClick="changescreen"/>java代码:private static boolean isfull=true; //全屏设置和退出全屏 private vo 阅读全文
posted @ 2013-03-20 17:50 Uoolo 阅读(912) 评论(0) 推荐(1) 编辑
摘要: 贴代码:public void exitclick(View view) { AlertDialog.Builder aa=new AlertDialog.Builder(this); aa.setTitle("消息提示"); aa.setMessage("确认退出?"); aa.setIcon(R.drawable.icon); aa.setPositiveButton("确定",new DialogInterface.OnClickListener() { @Ove... 阅读全文
posted @ 2013-03-20 16:19 Uoolo 阅读(1018) 评论(2) 推荐(0) 编辑
摘要: 1.AndroidManifest.xml文件解析:http://www.cnblogs.com/pilang/archive/2011/04/20/2022932.html2.AlertDialogDialog alertDialog = new AlertDialog.Builder(this). setTitle("对话框的标题"). setMessage("对话框的内容"). setIcon(R.drawable.icon). create(); alertD... 阅读全文
posted @ 2013-03-20 15:13 Uoolo 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 对androidmanifest.xml进行配置即可:<supports-screens android:resizeable="true" />附:<supports-screensandroid:resizeable=["true"|"false"] android:smallScreens=["true" | "false"] android:normalScreens=["true" | "false"] android:larg 阅读全文
posted @ 2013-03-20 15:01 Uoolo 阅读(602) 评论(2) 推荐(0) 编辑