自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

原创 android 获取系统时间格式

private static String getSystemDefaultDateFormat(Context context){ String strTimeFormat=""; try{ strTimeFormat = android.provider.Settings.System.getString(context.getContentResolver(),

2013-04-13 16:01:06 1359

原创 android 跳转到call history页面

Intent intent = new Intent(Intent.ACTION_VIEW);intent.setType("vnd.android.cursor.dir/calls");startActivity(intent);

2013-03-22 14:13:53 579

原创 android通过电源管理控制是否黑屏

// try{// if(localWakeLock==null){// localWakeLock = pm.newWakeLock(32, "MyPower");//32是系统的靠近感应PROXIMITY_SCREEN_OFF_WAKE_LOCK // }// }catch(Exception e){// e.printStackTrace();// }//

2013-02-21 13:47:34 638

原创 android动态全屏和取消全屏

取消全屏,显示状态栏WindowManager.LayoutParams params=getWindow().getAttributes();params.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN); getWindow().setAttributes(params);getWindow().clearFlags(

2013-02-21 13:39:52 260

原创 android dialog 两种自定义布局风格

第一种方式;AlertDialog.Builder builder = new AlertDialog.Builder(this);View view = getLayoutInflater().inflate(R.layout.select_dialog,null);builder.setView(view);builder.show();常用的此方式,这样采用dialog默认的

2013-01-05 18:15:04 641

原创 android:layout_weight属性使用注意事项

此属性一旦在LinearLayout中被显示使用,则使用此属性的控件android:layout_width(水平平分布局时)或android:layout_height(垂直平分布局时)两个属性其中一个应该指明为0dp。

2013-01-01 22:12:57 443

android游戏连连看源码

android游戏连连看源码,android游戏连连看源码

2011-04-21

java算法研究分析

对Java中高深算法有深入详尽的讲解,易学易懂。

2010-09-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除