我们知道android系统已经为我们提供好了一个展示图片的“容器”——Gallery,但是这个Gallery显示的效果是平面化的,动态效果不强。这里,我们动手做一个自定义的Gallery组件,实现图片的3D效果展示,想想应该不错吧,先看看效果图...
分类:
移动开发 时间:
2014-10-09 19:59:07
阅读次数:
334
本文为那些不错的Android开源项目第一篇——个性化控件(View)篇,主要介绍Android上那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialo...
分类:
移动开发 时间:
2014-10-09 17:38:58
阅读次数:
405
很多初学者肯定会觉得,当播放到最后一个的时候,我只要再设为第一个不就好了吗?为什么要返回Integer.MAX_VALUE呢?注意getItem(int position)是怎么写的。那是自动轮播的情况,当你把轮播时间设长一点,在第一张图片,你无法手动向前滑动,同样的,在最后一张你也无法手动往后滑动...
分类:
其他好文 时间:
2014-09-30 11:05:11
阅读次数:
173
在Win7环境下,编写MFC应用程序,Project菜单下Add To Project子菜单中的 Components and Controls…选项,在弹出的对话框中Gallery文件为空,也就无法找到Registered ActiveX Controls项。经过试验,打开VC时使用管理员权限.....
Cloud Carousel (演示 | 下载)ShineTime (演示 | 下载)Nivo Slider (演示 | 下载)Interactive Photo Desk (演示 | 下载)Beautiful Photo Stack Gallery with jQuery and CSS3 (演示...
分类:
Web程序 时间:
2014-09-27 00:52:38
阅读次数:
404
以加载图库的照片为例解释都在代码中,看吧代码块package auggie.gallery;import android.content.ContentResolver;import android.content.Context;import android.database.Cursor;imp...
分类:
其他好文 时间:
2014-09-26 18:52:21
阅读次数:
160
问题:
在图库中缩略图与实际图片不对应,比如缩略图显示的明明是A图片,点进去发现显示的是B图片。
解决办法:
Go to Setting-->Applications--->Gallery-->Clear Cache
After clearing the cache, open the gallery app, it will automatically regen...
分类:
移动开发 时间:
2014-09-26 12:01:08
阅读次数:
224
Android 4.4前后版本读取图库图片方式的变化本文讲述Android 4.4(KitKat)前后访问图库以及访问后通过图片路径读取图片的变化Android 4.4(KitKat)以前:访问图库(方法一):1 /**2 * Access the gallery to pick...
分类:
移动开发 时间:
2014-09-26 00:52:18
阅读次数:
384
转自:http://blog.csdn.net/shulianghan/article/details/18046021主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBa...
分类:
移动开发 时间:
2014-09-24 21:52:17
阅读次数:
446
lightinthebox 批量设置分类产品排列方式为Gridcategories_type = '1'表示List,2表示Grid,3表示Gallery方式设置单个分类UPDATE categories SET categories_list_types = '1' WHERE categorie...
分类:
其他好文 时间:
2014-09-15 14:06:58
阅读次数:
175