这里是我的空间,是我用来记录点滴的沃土...

06 2012 档案

摘要:Field f= (Field)R.drawable.class.getDeclaredField(“name”);//图片资源 int i=f.getInt(R.drawable.class); 阅读全文
posted @ 2012-06-28 17:39 wsx2miao 阅读(232) 评论(0) 推荐(0) 编辑
摘要:main.xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill 阅读全文
posted @ 2012-06-28 17:00 wsx2miao 阅读(2156) 评论(0) 推荐(0) 编辑
摘要:AlarmManager manager = (AlarmManager) getSystemService(ALARM_SERVICE); Intent intent = new Intent(EditTextViewDemoActivity.this, AlarmTest.class); PendingIntent operation = PendingIntent.getActivity(this, 0, intent, 0); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.... 阅读全文
posted @ 2012-06-28 10:07 wsx2miao 阅读(221) 评论(0) 推荐(0) 编辑
摘要:View Code package com.wangsx.Line;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.util.AttributeSet;import android.widget.EditText;public class LineEditText extends EditText { private Paint mPaint; public ... 阅读全文
posted @ 2012-06-15 21:14 wsx2miao 阅读(3219) 评论(0) 推荐(0) 编辑

这里是我的空间,是我用来记录点滴的沃土...
点击右上角即可分享
微信分享提示