自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 Android实现 通过手势随意缩放、移动ImageView图片

在这里,我对自己的笔记本全屏截图,然后当作自定义ImageView的src内容放在真机上运行。 可以看到这里的图片是可以移动和缩放的。 在这里先说清一点,如果在xml的控件上设置src,则需要在代码上通过getDrawable();获取,如果是通过setBackGround的,则通过getBackground();获取即可。 publicclassMyImageViewexten

2016-12-09 10:56:32 1279 1

原创 android版本更新

package com.hroot.www.utils; import android.app.Dialog; import android.app.DownloadManager; import android.app.Notification; import android.app.NotificationManager; import android.content.BroadcastRe

2016-07-06 16:53:22 407

转载 限制金额只能输入小数点后2位

editText.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChang

2016-07-06 09:27:28 1563

转载 限制金额输入小数点2位

editText.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChang

2016-07-06 09:20:51 554

原创 毛玻璃

package com.example.win.blurfastblur; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import andro

2016-04-11 14:33:10 340

空空如也

空空如也

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

TA关注的人

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