![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
redder_xu
这个作者很懒,什么都没留下…
展开
-
AlertDialog自定义位置
AlertDialog alertDialog = new AlertDialog.Builder(this).create(); Window window = alertDialog.getWindow(); WindowManager.LayoutParams wmlp = window.getAttributes(); //X坐标 wmlp.x = 0; //原创 2012-07-23 15:08:36 · 668 阅读 · 0 评论 -
Android实现开机自启动Service
一,首先做一个监听器:public class StartBroadcastReceiver extends BroadcastReceiver{private static final String ACTION = "android.intent.action.BOOT_COMPLETED";public void onReceive(Context conte原创 2012-11-29 09:39:45 · 14863 阅读 · 1 评论 -
cscope配置文件
1 在主文件夹下cd ~vi .vimrc2, 复制以下内容保存set nocompatibleset number filetype onset history =1000set background =darksyntax onset autoindentset smartindentset tabst原创 2013-03-22 00:46:44 · 1188 阅读 · 0 评论