日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

android 开源组件合集-UI篇(2013-11-07更新)

發布時間:2023/12/4 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android 开源组件合集-UI篇(2013-11-07更新) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

其實也算不上合集,只是將我經常用到的部分整理一下,如果您有好東西,也可以留言補充

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()這個方法

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

總結

以上是生活随笔為你收集整理的android 开源组件合集-UI篇(2013-11-07更新)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。