自定义博客皮肤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)
  • 收藏
  • 关注

原创 NoClassDefFoundError

Android 5.0以下出现 java.lang.NoClassDefFoundError兼容Android 5.0以下机型的方法:    //1.defaultConfig -->  multiDexEnabledtrue 设为true    //2.dependencies --> 导入第三方依赖库 compile             'com.android.suppo

2017-03-23 16:50:02 307

原创 android studio关联genymotion模拟器

前提:先安装了genymotion  官网下载地址:https://www.genymotion.com/ 注册一个账号,再下载安装,默认安装,记住自己安装的目录1.打开android studio,file->setting2.plugins->browse repositories,从网络上下载插件。在搜索栏输入genymotion,然后选中,点击旁边的install Plug

2017-05-09 17:15:29 465

原创 一个TextView 设置两种字体颜色和大小

String currentIncome="100";String s="\t元";String str=currentIncome+s;SpannableStringBuilder sp = new SpannableStringBuilder(str); //字体颜色 sp.setSpan(new ForegroundColorSpan(0xFFFF0000), name.

2017-04-06 17:19:19 464

原创 Android Studio中build.gradle详解

之前一直都是在用eclipse,很多毛病都没改过来,所有今天特意总结一下Studio下的build.gradle,不对之处敬请发表apply plugin: 'com.android.application'   //这表示此module是一个可运行的应用程序,可以直接run的//apply plugin: 'com.android.library'//这表示此module是一个安卓依

2017-03-24 11:17:28 491

空空如也

空空如也

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

TA关注的人

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