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

转载 android监听ScrollView滑动停止

转自:http://blog.csdn.net/jiangwei0910410003/article/details/17024287 /********************监听ScrollView滑动停止*****************************/   scrollView.setOnTouchListener(new OnTouchL

2016-02-26 20:53:55 4936

翻译 scrollView的使用

第一步:xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_heig

2016-02-16 10:35:40 322

翻译 viewFlipper的使用实现自动轮播广告图片

第一步:layout文件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layo

2016-02-15 20:18:30 672

翻译 ViewPager中结合使用fragmentPagerAdapter

ViewPager经常结合Fragment使用。这个时候的数据源为List ViewPager如果不需要控制生命周期,则结合View使用。这个时候的数据源为List

2016-02-15 19:06:50 410

翻译 viewpager中的PagerTabStrip和PagerTitleStrap

ViewPager中实现顶部导航条滑动的实现 第一步:manifest文件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"

2016-02-15 17:29:05 399

scrollview的使用

scrollview的使用。判断scrollview滑动到顶部和底部。scrollTo和scrollBy的区别。

2016-02-16

viewPager的使用

使用ViewPager实现,PagerTabStrip和FragmentPagerAdapter的使用。重写getPagerTitle来实现。

2016-02-15

viewFlipper

viewFlipper实现广告栏轮询播放

2016-02-15

安卓蓝牙小工具

用androidStudio编写的蓝牙功能模块,包括检测蓝牙是否可用,关闭,打开,扫描,蓝牙设备等功能模块。

2015-11-15

调用系统相机拍照

调用系统相机拍照,将拍照的图片进行裁剪,压缩。最后显示到imageview上面。

2015-11-15

editview软键盘自动弹出和隐藏

editview聚焦的时候,会自动弹出软键盘。这个小demo实现,打开界面自动弹出软键盘,点击非软键盘区域后,软键盘自动收起。

2015-11-12

android自定义控件+自定义属性的使用

android常常用到自定义属性和自定义控件,本文主要是一个小demo。让你了解如何实现自定义控件和自定义属性的简单写法。

2015-11-11

空空如也

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

TA关注的人

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