• ubuntu path 修复

    export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games重新导入变量就ok了。...

    ubuntu 显卡驱动安装(ati6570&ati6XXX)

    驱动:http://kuai.xunlei.com/d/NPYRTQNBGHAW10.10的需要安装qt4sudo apt-get install libqtgui4然后安装sudo sh ati-driver-installer-11-12-x86.x86_64.run --buildpkg Ub...

    正则表达式的构造摘要

    构造匹配字符x字符 x\\反斜线字符\0n带有八进制值 0 的字符 n (0 <= n <= 7)\0nn带有八进制值 0 的字符 nn (0 <= n <= 7)\0mnn带有八进制值 0 的字符 mnn(0 <= m <= 3、0 <= n <= ...

    listView内嵌套gridview显示不全

    继承gridview重写onMeasure()方法public void onMeasure(int widthMeasureSpec, int heightMeasureSpec){int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_V...

    自定义checkbox

    <!--?xml version="1.0" encoding="UTF-8"?--><selector xmlns:android="http://schemas.android.com/apk/res/android"...

    解决输入法将程序底部顶起

    在AndroidManifest.xml中声明<activity>中加入android:windowSoftInputMode="stateVisible|adjustPan"即可...

    android secret

    Android Phone Information Secret Code: *#*#4636#*#*To get the information of your phone and battery. including Phone information, Battery information,...

    gallery去除左右阴影

    有阴影 没阴影android:fadingEdge="none"添加之后就没有阴影了。同样也可以去除listView上下的阴影...

    lock

    private void setUnlocked() { Window win = getWindow(); WindowManager.LayoutParams winParams = win.getAttributes(); winPara...

    test

    testPosted from WordPress for Android...