摘要: 源http://blog.csdn.net/wangxingwu_314/article/details/8060312 阅读全文
posted @ 2015-09-22 11:38 QG_Li 阅读(119) 评论(0) 推荐(0) 编辑
摘要: String className ="test.Test1"; Class clazz; try { clazz = Class.forName(className); Test1 userDao=(Test1) clazz.n... 阅读全文
posted @ 2015-09-06 17:51 QG_Li 阅读(3411) 评论(0) 推荐(0) 编辑
摘要: 一个TextView使用不同的颜色:textview中首先需要已经有内容了public static void ColorFormatTextView(TextView tv,int color,String textStr){ if (TextUtils.isEmpty(textSt... 阅读全文
posted @ 2015-07-16 17:39 QG_Li 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 首先是xml文档: name1 name2 name3 name4 name5 然后是解析的方法:package com.example.sp... 阅读全文
posted @ 2015-06-26 15:01 QG_Li 阅读(159) 评论(0) 推荐(0) 编辑
摘要: package com.example.spinnertest;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import and... 阅读全文
posted @ 2015-06-26 11:28 QG_Li 阅读(300) 评论(0) 推荐(0) 编辑