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

原创 回传值

//回传    huichuan.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { String backStr="亲,我是回传值喔"; Intent intent=getIntent(); intent.putExtra("HUI", backStr);

2014-11-21 08:38:41 316

原创 单选多选按钮

android:id="@+id/city"              android:layout_width="wrap_content"              android:layout_height="wrap_content"              android:text="城市"/>                       android:layout_wid

2014-11-21 08:34:28 292

原创 状态保存

//XML               android:id="@+id/textbaocun"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:text="uuuu"    

2014-11-21 08:26:41 283

原创 各种布局跑马灯按钮控件

android:layout_width="match_parent"     android:layout_height="match_parent" >     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical"

2014-11-19 08:53:21 848

IPC进程间通信Messenger实现

IPC进程间通信Messenger实现附带两个设计模式:状态模式、备忘录模式;

2018-07-03

Android状态保存、用户偏好设置保存、通过universal_image_loder网络加载图片并做图片缓存处理Demo

Android状态保存、用户偏好设置保存、通过universal_image_loder网络加载图片并做图片缓存处理Demo 1、将universal-image-loder...jar包放入项目的libs文件里,并引入。 2、将MyApplication.java类放入项目,具体个性细节设置在这个类里面设置。 3、在要加载图片并缓存的地方写入下边的代码: //网络获取图片,并加入缓存 new MyApplication().ImageLoaderCache(url, mIvimage); 4、在AndroidManifest.xml文件中加入权限 <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 和 android:name=".MyApplication" 位置如下: <application android:name=".MyApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name="com.example.save.CopyOfMainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.example.save.MainActivity" > </activity> </application> 整个程序就完成了。

2015-04-14

Android注册通过拍照、本地图库上传头像,并裁剪图片

Android用户注册通过拍照、本地图库上传头像,并裁剪图片到设置的固定尺寸大小

2015-04-14

网络获取图片工具包Picasso

网络获取图片工具包Picasso

2015-01-14

网络获取图片工具

网络获取图片工具类AsyncImageLoader

2015-01-14

空空如也

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

TA关注的人

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