摘要: http://blog.sina.com.cn/s/blog_6499f8f101014ipq.html 阅读全文
posted @ 2014-05-05 09:06 阿黄的苹果 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1 http://blog.csdn.net/dengxiayehu/article/details/6398648 HandlermHandler=newHandler();RunnableworkRunnable=newRunnable(){intcounter=0;publicvoidru... 阅读全文
posted @ 2014-05-03 15:20 阿黄的苹果 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-05-03 09:24 阿黄的苹果 阅读(81) 评论(0) 推荐(0) 编辑
摘要: GridView 一种是直接用simpleAdapt,另一种是自己写一个myAdapt 继承baseAdapt.这里是第二个例子。http://fonter.iteye.com/blog/781403package com.grid.test;import java.util.ArrayList;i... 阅读全文
posted @ 2014-05-02 21:59 阿黄的苹果 阅读(174) 评论(0) 推荐(0) 编辑
摘要: GridView跟ListView都是比较常用的多控件布局,而GridView更是实现九宫图的首选!本文就是介绍如何使用GridView实现九宫图。GridView的用法很多,网上介绍最多的方法就是自己实现一个ImageAdapter继承BaseAdapter,再供GridView使用,类似这种的方... 阅读全文
posted @ 2014-05-02 17:57 阿黄的苹果 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 4中特效对应四个类。package mars.animations01;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.view.View.OnClickList... 阅读全文
posted @ 2014-05-02 17:47 阿黄的苹果 阅读(221) 评论(0) 推荐(0) 编辑
摘要: LayoutInflater inflater=(LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);View layout = inflater.inflate(R.layout.main, null);... 阅读全文
posted @ 2014-04-30 14:59 阿黄的苹果 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Android详细的对话框AlertDialog.Builder使用方法我们在平时做开发的时候,免不了会用到各种各样的对话框,相信有过其他平台开发经验的朋友都会知道,大部分的平台都只提供了几个最简单的实现,如果我们想实现自己特定需求的对话框,大家可能首先会想到,通过继承等方式,重写我们自己的对话框。... 阅读全文
posted @ 2014-04-30 13:43 阿黄的苹果 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package com.szy.dialogs;import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.app.ProgressDialog;import ... 阅读全文
posted @ 2014-04-29 14:35 阿黄的苹果 阅读(112) 评论(0) 推荐(0) 编辑
摘要: package mars.listview;import java.util.ArrayList;import java.util.HashMap;import android.app.ListActivity;import android.os.Bundle;import android.view... 阅读全文
posted @ 2014-04-29 13:14 阿黄的苹果 阅读(186) 评论(0) 推荐(0) 编辑