自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小白james

一个android菜鸟的学习之路

  • 博客(9)
  • 资源 (2)
  • 收藏
  • 关注

原创 android使用NumberPicker实现自定义带时间的对话框

android使用NumberPicker实现自定义带时间的对话框布局:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" a

2015-05-27 18:19:02 1963 1

原创 android自定义ImageView实现圆形图片

android自定义ImageView实现圆形图片直接上代码,有问题大家提出来package com.ibenwang.widget;import android.content.Context;import android.content.res.TypedArray;import android.graphics.Bitmap;import android.graphics.

2015-05-21 20:14:59 692

原创 Bitmap关于图片处理笔记

Bitmap关于图片处理笔记android开发中,图片处理虽说不算是个难点,但是有时候做起来,很烦人,图片总是显示不好看,今天总结了下项目中用到的BitmapHelper类的几个方法,做好笔记,方便以后使用1,按自己定义尺寸压缩图片 // 压缩分辨率 public static Bitmap createBitmapThumbnail(Bitmap bitMap) {

2015-05-19 18:19:15 360

原创 android自定义时间控件NumberPicker

android自定义时间控件NumberPicker布局:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_gravity="center_horizontal" andro

2015-05-14 19:17:02 1622

原创 android自定义带清空内容的TextView

android自定义带清空内容的TextView代码:/** * 带删除按钮的EditText * @author Administrator * */public class ClearEditText extends EditText implements OnFocusChangeListener, TextWatcher { /** * 删除按钮的引用 */

2015-05-14 19:12:14 11101

原创 android自定义弹窗PopupWindow

android自定义弹窗PopupWindow/** * 自定义弹窗 * @author Administrator * */public class MyPopup extends PopupWindow { private MyLogger mylogger = MyLogger.getLogger(); private Context mContext; //列

2015-05-14 19:05:32 752

原创 android实现A-Z排序和检索的功能

自定义了一个SideBar实现A-Z检索功能public class SideBar extends View { // 触摸事件 private OnTouchingLetterChangedListener onTouchingLetterChangedListener; // 26个字母 public static String[] b = { "A", "B", "C", "

2015-05-14 19:03:06 558

原创 获取手机通讯录加好友

获取手机通讯录加好友工作用到的在app访问通讯录,获取好友信息,发邀请给好友,请求加好友,类似微信的通讯录加好友效果,简单贴一些代码。xml布局:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent"

2015-05-14 18:45:49 3571 1

原创 SharedPreferences偏好设置

SharedPreferences偏好设置的使用保存基本数据类型:1,保存数据 */ public static void setParam(Context context, String key, Object object, boolean isClear) { String type = object.getClass().getSimpleName(); Sh

2015-05-07 16:25:23 474

线程池经典多任务下载demo

一个多线程下载的的demo,集合了线程使用的几种方式,很不错的线程池研究学习demo

2015-08-20

android自定义控件防百度语音水波扩散控件

最新开发一个车载语音的项目,要求实现类似百度的语音水波控件,网上找了个demo,自己改成我要的需要,传上去大家可以看看,资源大少,多分享。

2015-07-07

空空如也

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

TA关注的人

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