摘要:
//去掉窗口 requestWindowFeature(Window.FEATURE_NO_TITLE);(一定要放在setContentView(R.layout.main)的前面) //全屏显示 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 阅读全文
posted @ 2013-06-21 22:16
程序学习笔记
阅读(261)
评论(0)
推荐(0)
摘要:
view_show.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> 阅读全文
posted @ 2013-06-21 22:04
程序学习笔记
阅读(302)
评论(0)
推荐(0)
摘要:
布局:<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/relativeLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" > <B 阅读全文
posted @ 2013-06-21 21:48
程序学习笔记
阅读(333)
评论(0)
推荐(0)
摘要:
import java.util.regex.Matcher;import java.util.regex.Pattern;/** * @author lei * 2011-9-2 */public class StringUtils { public static String replaceBlank(String str) { String dest = ""; if (str!=null) { Pattern p = Pattern.compile("\\s*|\t|\r|\n"); Matcher m = ... 阅读全文
posted @ 2013-06-21 21:46
程序学习笔记
阅读(1137)
评论(0)
推荐(0)