您的位置:首页 > 移动开发 > Android开发

Github开源Android组件资源整理(四) ImageView, ProgressBar,TextView

2015-01-31 14:28 489 查看


六、ImageView

PhotoView

支持双击或双指缩放的ImageView,在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不仅支持ViewPager,同时支持单个ImageView

项目地址:https://github.com/chrisbanes/PhotoView

Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample

APP示例:photup

android-gif-drawable

支持gif显示的view,用jni实现的,编译生成so库后直接xml定义view即可,而且本身不依赖于其他开源项目所以相对下面的ImageViewEx简单的多

项目地址:https://github.com/koral--/android-gif-drawable

ImageViewEx

支持Gif显示的ImageView

项目地址:https://github.com/frapontillo/ImageViewEx

Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true

依赖很多,编译过程很繁琐!|_|!

RoundedImageView

带圆角的ImageView

项目地址:https://github.com/vinc3m1/RoundedImageView

效果图:



ColorArt

根据图片的均色设置背景色显示文字和图片,类似itune11中效果

项目地址:https://github.com/MichaelEvans/ColorArt

Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=true

CircleImageView

圆形的ImageView

项目地址:https://github.com/hdodenhof/CircleImageView

效果图:



ImageViewZoom

支持放大和平移的ImageView

项目地址:https://github.com/sephiroth74/ImageViewZoom

APP示例:https://play.google.com/store/apps/details?id=com.aviary.android.feather

KenBurnsView

实现Ken Burns effect效果,达到身临其境效果的ImageView

项目地址:https://github.com/flavioarfaria/KenBurnsView

CustomShapeImageView

各种形状的ImageView, 相比上面的圆形ImageView,多了更多形状

项目地址:https://github.com/MostafaGazar/CustomShapeImageView

效果图:



Shape Image View

可以自定义各种形状的ImageView, 并且支持边框

项目地址:https://github.com/siyamed/android-shape-imageview

效果图:









七、ProgressBar

SmoothProgressBar

水平进度条

项目地址:https://github.com/castorflex/SmoothProgressBar

Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample

ProgressWheel

支持进度显示的圆形ProgressBar

项目地址:https://github.com/Todd-Davies/ProgressWheel

Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true

android-square-progressbar

在图片周围显示进度

项目地址:https://github.com/mrwonderman/android-square-progressbar

Demo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example

APP示例:square

效果图:



HoloCircularProgressBar

Android4.1 时钟App样式

项目地址:https://github.com/passsy/android-HoloCircularProgressBar

APP示例:Android4.1时钟App

效果图:



ProgressButton

通过图钉的不同状态显示进度

项目地址:https://github.com/f2prateek/progressbutton

文档介绍:http://f2prateek.com/progressbutton/

效果图:



GoogleProgressBar

类似google 多个圆形卡片翻转的progressBar

项目地址:https://github.com/jpardogo/GoogleProgressBar

效果图:



TH-ProgressButton

带圆形进度显示的按钮

项目地址;https://github.com/torryharris/TH-ProgressButton

效果图:

 



NumberProgressBar

带数字进度的进度条

项目地址:https://github.com/daimajia/NumberProgressBar

效果图:



CircularProgressDrawable

带圆形进度显示的进度条

项目地址:https://github.com/Sefford/CircularProgressDrawable

效果图:



circular-progress-button

带进度显示的Button

项目地址:https://github.com/dmytrodanylyk/circular-progress-button

效果图:







八、TextView

包括TextView及所有继承自TextView控件,如EditText、Button、RadioButton

android-flowtextview

文字自动环绕其他View的Layout

项目地址:https://code.google.com/p/android-flowtextview/

效果图:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png

Android Form EditText

验证输入合法性的编辑框,支持输入、英文、ip、url等多种正则验证

项目地址:https://github.com/vekexasia/android-edittext-validator

Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample

Emojicon

支持emojis的TextView和EditText

项目地址:https://github.com/rockerhieu/emojicon

文档地址:http://rockerhieu.com/emojicon/

android-circlebutton

Android圆形按钮,实际实现是继承自ImageView

项目地址:https://github.com/markushi/android-circlebutton

Demo地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apk

Segmented Radio Buttons for Android

iOS’s segmented controls的实现

项目地址:https://github.com/vinc3m1/android-segmentedradiobutton

Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true

效果图:



Chips EditText Library

支持国家名字联想从而选择显示该国国旗的EditText,实际就是通过SpannableStringBuilder实现

项目地址:https://github.com/kpbird/chips-edittext-library

Demo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin

AutoFitTextView

可固定边界内容字体大小自适应的TextView

项目地址:https://github.com/grantland/android-autofittextview

Shimmer for Android

文字发淡光的TextView

项目地址:https://github.com/RomainPiel/Shimmer-android

Titanic

可以显示水位上升下降(不知道该怎么描述 囧)的TextView

项目地址:https://github.com/RomainPiel/Titanic

效果图:



android-iconify

提供带Icon的TextView,Menu,Button等

项目地址:https://github.com/JoanZapata/android-iconify

Calligraphy

让我们在android开发中使用自定义字体变得更加简单

项目地址 :https://github.com/chrisjenx/Calligraphy

效果图:



CreditsRoll

类似星球大战字幕效果的TextView

项目地址:https://github.com/frakbot/CreditsRoll

android-process-buton

带加载或提交进度的Button

项目地址:https://github.com/dmytrodanylyk/android-process-buton

FButton

扁平化的Button

项目地址:https://github.com/hoang8f/android-flat-button

Demo地址:https://play.google.com/store/apps/details?id=info.hoang8f.fbutton.demo

FloatingActionButton

一个类似Android版Google+浮动功能按钮的控件,可以响应ListView的滚动事件。当列表向上滚动的时候会自动显示,向下滚动的时候自动隐藏。

项目地址:https://github.com/makovkastar/FloatingActionButton

Demo地址:https://github.com/makovkastar/FloatingActionButton/tree/master/

效果图:



Android Saripaar

Android表单验证

项目地址:https://github.com/ragunathjawahar/android-saripaar/

JumpingBeans

文字像 Mexican beans 一样跳动

项目地址:https://github.com/frakbot/JumpingBeans

Demo地址:http://play.google.com/store/apps/details?id=net.frakbot.jumpingbeans.demo

效果图:



FancyButtons

一个不用图片就可以帮助我们创建出漂亮按钮的库。

项目地址:https://github.com/medyo/fancybuttons

Demo地址:https://github.com/medyo/fancybuttons/tree/master/samples

效果图:

 



Android-RobotoTextView 一个实现了所有Roboto字体的TextView,包括新出的Roboto Slab字体。

项目地址:https://github.com/johnkil/Android-RobotoTextView

Demo地址:http://play.google.com/store/apps/details?id=com.devspark.robototextview

Demo项目:https://github.com/johnkil/Android-RobotoTextView/tree/master/robototextview-sample

效果图:



Android-WizardPager

一个表单向导库

项目地址:https://github.com/romannurik/android-wizardpager

Demo项目:https://github.com/str4d/android-wizardpager/tree/textfield

效果图:



RippleView

一个实现了 Android L上才引入的点击按钮后出现水波纹效果的按钮

项目地址:https://github.com/siriscac/RippleView

Demo项目:https://github.com/siriscac/RippleView/tree/master/RippleViewExample

效果图:



Android Floating Label Widgets

包含一系列控件,这些控件特点是:有默认值,当值不为空时默认值浮动到上面变为提示

项目地址:https://github.com/marvinlabs/android-floatinglabel-widgets

Demo地址:https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo

在线演示:http://www.youtube.com/watch?v=hpZD9gJcRg0&feature=youtu.be
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: