自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 Android configuration使用 为什么监听事件onConfigurationChanged没有反应

Configuration专门描述手机设备的配置信息:获取Configuration对象的方法 getResources().getConfiguration();可以获取手机屏幕的方向 字体缩放因子等解决onConfigurationChanged 回调事件没有反应package com.example.configuration;import android.a

2015-10-04 15:01:08 869

原创 Activity的生命周期onSaveInstanceState onRestoreInstanceState 两个方法

测试代码:package com.example.activity;import android.app.Activity;import android.app.AlertDialog;import android.content.Intent;import android.media.audiofx.BassBoost.Settings;import androi

2015-09-16 15:40:48 372

原创 Fragment实现Tab

注意的地方:MainActivity要继承FragmentActivityimport android.support.v4.app.Fragment;如果导入的是这个包:一定要用getSupportFragmentManager()获取管理器FragmentManager fm = getSupportFragmentManager();FragmentTransacti

2015-07-22 17:01:22 272

原创 Gson的简单使用

Gson的使用

2015-07-20 16:47:31 320

Afinal框架

Android 数据库,bitmap,http,Activity 操作

2015-07-22

空空如也

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

TA关注的人

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