android UI 开源组件

来源:互联网 发布:last game 软件 编辑:程序博客网 时间:2024/05/01 21:52


转载于:http://blog.csdn.net/ethan_xue/article/details/8742691

1.actionbar

http://actionbarsherlock.com/

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

2.下拉刷新pulltorefresh

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


3.viewflow

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

 

4.viewpagerIndicator

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

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


5.IndexableListView

https://github.com/woozzu/IndexableListView

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

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


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


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

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

0 0
原创粉丝点击