`
liuguofeng
  • 浏览: 432809 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Android UI 组件开源软件

 
阅读更多

其实也算不上合集,只是将我经常用到的部分整理一下,如果您有好东西,也可以留言补充,

可以参照应用Libraries for developers,ios的参照Libraries for developers Pro

1.actionbar

http://actionbarsherlock.com/

https://github.com/JakeWharton/ActionBarSherlock (推荐)

2.下拉刷新pulltorefresh

https://github.com/chrisbanes/Android-PullToRefresh

 

支持各种控件下拉刷新
ListView、ViewPager、WevView、ExpandableListView、GridView、(Horizontal

 


)ScrollView、Fragment上下左右拉动刷新,比下面johannilsson那个只支持ListView的强大的多。并且他实现的下拉刷新ListView在item不足一屏情况下也不会显示刷新提示,体验更好

 

3.viewflow

https://github.com/pakerfeldt/android-viewflow

 

4.viewpagerIndicator

https://github.com/JakeWharton/Android-ViewPagerIndicator

直接继承自ViewPager,主要在onInterceptTouchEvent()和onTouchEvent()里面加入了对于垂直方向滑动的支持.并提供了setOrientation()这个方法

tab底部的下划线是会随着pager的滑动而实时变化,而论坛里很多demo则是标签页切换时下划线的动画效果,二者是有区别的

参照http://blog.csdn.net/lancees/article/details/9164421

5.IndexableListView

https://github.com/woozzu/IndexableListView

 ListView右侧会显示item首字母快捷索引,点击可快速滑动到某个item

5.1CustomFastScrollViewDemo

https://github.com/nolanlawson/CustomFastScrollViewDemo

ListView快速滑动,同时屏幕中间PopupWindows显示滑动到的item内容或首字母

6.RefreshableListView

https://github.com/woozzu/RefreshableListView

 

7.NewQuickAction3D

https://github.com/lorensiuswlt/NewQuickAction3D

  

8.FlipAnimatorExample

http://code.google.com/p/myandroidwidgets

9.NineOldAndroids

https://github.com/JakeWharton/NineOldAndroids

10.AndroidWheel

https://github.com/sephiroth74/AndroidWheel

11.android-wheel

http://code.google.com/p/android-wheel

12.cardsui-for-android

https://github.com/nadavfima/cardsui-for-android

13.RibbonMenu

https://github.com/darvds/RibbonMenu 

14.SwitchButton

https://github.com/IssacWang/SwitchButton

15.undergarment

https://github.com/eddieringle/android-undergarment

16.仿flipboard动画

https://github.com/openaphid/android-flip

17.drag-sort-listview 支持拖拽顺序和左右滑动删除功能的自定义ListView

https://github.com/bauerca/drag-sort-listview

18.SideNavigation

https://github.com/johnkil/SideNavigation

19.PhotoView

https://github.com/chrisbanes/PhotoView

20.sidemenu

https://github.com/maddeye/android-sidemenu

21.仿flipboard动画

https://github.com/openaphid/android-flip

22.Holo风格

https://github.com/Prototik/HoloEverywhere

23.侧滑菜单slidingMenu

https://github.com/jfeinstein10/SlidingMenu

24.标题会固定在上方的listview

https://github.com/emilsjolander/StickyListHeaders

效果图https://raw.github.com/emilsjolander/StickyListHeaders/master/demo.gif

25.仿flipboard动画

https://github.com/emilsjolander/android-FlipView

26.标题会固定在上方的gridview

https://github.com/TonicArtos/StickyGridHeaders

27.单个item会打开的listview

https://github.com/tjerkw/Android-SlideExpandableListView

28.转盘菜单

http://code.google.com/p/radial-menu-widget/

29.通讯录般的listview

https://github.com/woozzu/IndexableListView

30.范围seekbar

https://code.google.com/p/range-seek-bar/

31.范围seekbar2

https://github.com/edmodo/range-bar

32.msg (类似Toast)

https://github.com/johnkil/Android-AppMsg

33.AutoScaleTextView

https://bitbucket.org/ankri/autoscaletextview/src/fd5625ceb37b5cf18b8bf1e0c3c20dca569de80d?at=default

34.ProgressButton

https://github.com/f2prateek/progressbutton

35.PagerSlidingTabStrip

https://github.com/astuetz/PagerSlidingTabStrip

36.圆形progressbar

https://github.com/ymotoba/pinprogress

37.gesture-imageview (类似PhotoView可缩放,貌似比PView更强大)

https://github.com/jasonpolites/gesture-imageview

38.staggeredGridView 瀑布流

https://github.com/maurycyw/StaggeredGridView

39.Crouton (类似Toast和AppMsg)

https://github.com/keyboardsurfer/Crouton

可以让开发者对环境中的Toast进行替换的类,以一个应用程序窗口的方式显示,而其显示位置则由开发者自己决定。


40.android-menudrawer

https://github.com/SimonVT/android-menudrawer

 

41.ActionBar-PullToRefresh ActionBar的下拉刷新

https://github.com/chrisbanes/ActionBar-PullToRefresh


42.pinned-section-listview

https://github.com/beworker/pinned-section-listview

GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView


43.Left Locked Gallery 

 android官方的Gallery是center lock的 意思是你只能居中显示你选中的item

https://github.com/TheLevelUp/android-left-locked-gallery

44.Bootstrap3.0风格的组件

https://github.com/Bearded-Hen/Android-Bootstrap


45.android-swipelistview

https://github.com/47deg/android-swipelistview

46.PinnedHeaderListView

https://github.com/JimiSmith/PinnedHeaderListView

GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView

47.QuickReturnHeader

https://github.com/ManuelPeinado/QuickReturnHeader

ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现

48.Android-ScrollBarPanel

https://github.com/rno/Android-ScrollBarPanel

 ListView滑动时固定的Panel指示显示在scrollbar旁边

49.jazzylistview

https://github.com/twotoasters/JazzyListView

ListView及GridView item以特殊动画效果进入屏幕,效果包括grow、cards、curl、wave、flip、fly等等

50.ListViewAnimations

https://github.com/nhaarman/ListViewAnimations

 带Item显示动画的ListView,动画包括底部飞入、其他方向斜飞入、下层飞入、渐变消失、滑动删除等

51. DevsmartLib-Android 横向ListView

https://github.com/dinocore1/DevsmartLib-Android

/************************************************可能报错的解决方法(部分取自网络)*********************************************************/

23.SlidingMenu 

     <1>. 在github上有一个效果不错的开源库,SlidingMenu 最新的代码下载下来后,会报错:

      No resource found that matches the given name: attr 'homeAsUpIndicator'.

      No resource found that matches the given name 'Theme.Sherlock.Light.DarkActionBar'.


      原因是它本身又引用了另外一个开源库 ActionBarSherlock ,所以首先要做的就是去下载 ActionBarSherlock,引用其中的library。

      <2>. 这样,SlidingMenu 的示例代码就引用了两个library,这时候还不能用,项目报错:
      
      Jar mismatch! Fix your dependencies
     
       解决此问题的方法见 http://blog.csdn.net/java_crab/article/details/8477416 ,其实就是需要两个library使用的support包是一样的。

       <3>. 解决了上面的问题之后,还会出现下面的问题:
      可能报找不到getSupportActionBar等ActionBarSherLock的方法。原因是使用ActionBarSherLock的Activity需继承于SherlockActivity,修改SlidingMenu library中的SlidingFragmentActivity,让它继承于SherlockFragmentActivity,重新编译library导入。

        经过以上三个步骤之后,就可以成功的编译通过SlidingMenu提供的示例代码!

39.Crouton

需要引入actionbarshelock和viewpagerIndicator

其他貌似都引入easy

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics