# PracticeDemos 记录平时练习做的一些Demo。
**宗旨:**整体以代码简洁为主,不做过多的辅助补充。
**目的:**为了方便看代码的人更直观的看到核心功能。 ##### 1. [Hack3_ViewGroup][Hack3_ViewGroup] :[最基础的自定义ViewGroup][Hack3_ViewGroupUrl] ##### 2. [Hack7_CanvasAnime][Hack7_CanvasAnime] :[最基础的自定义View——用Canvas显示动画][Hack7_CanvasAnimeUrl] ![Hack7_CanvasAnime](https://github.com/Wing-Li/PracticeDemos/blob/master/Hack7_CanvasAnime/gif/canvasanime.gif) ##### 3. [Hack10_CustomizeText][Hack10_CustomizeText] :[一个TextView,多种格式,Toast位置修改][Hack10_CustomizeTextUrl] ![](https://github.com/Wing-Li/PracticeDemos/blob/master/Hack10_CustomizeText/art.png) ##### 4. [Hack26_SectionListView][Hack26_SectionListView] :用一种比较笨的但是很简单的方式实现列表副标题 ![](https://github.com/Wing-Li/PracticeDemos/blob/master/Hack26_SectionListView/SectionList.gif) ##### 5. [ItemDragDemo][ItemDragDemo] :使用 ItemTouchHelper 和RecyclerView实现 列表的拖动 和 侧滑删除 ![ItemDragDemo](https://github.com/Wing-Li/PracticeDemos/blob/master/ItemDragDemo/itemdrag.gif) ##### 6. [DiyViewPager][DiyViewPager] :参考 [巧用ViewPager 打造不一样的广告轮播切换效果][DiyViewPagerUrl] ![DiyViewPager](https://github.com/Wing-Li/PracticeDemos/blob/master/DiyViewPager/img/DiyViewPager.gif) ##### 7. [ViewAnimation][ViewAnimation] :[ViewFlipper探索与使用][ViewAnimationUrl] ![ViewAnimation](https://github.com/Wing-Li/PracticeDemos/blob/master/ViewAnimation/img/viewanimation.gif) ##### 8. [CoordinatorDemo][CoordinatorDemo] :CoordinatorLayout 练习 ![CoordinatorDemo](https://github.com/Wing-Li/PracticeDemos/blob/master/CoordinatorDemo/img/cal.gif) ##### 9. [ThemeChange][ThemeChange] :ThemeChange 练习 ![ThemeChange](https://github.com/Wing-Li/PracticeDemos/blob/master/ThemeChange/img/theme.gif) ##### 10. [SeamlessChangeTheme][SeamlessChangeTheme] :(无缝切换主题,上面的切换方式会闪屏) SeamlessChangeTheme 练习 ![SeamlessChangeTheme](https://github.com/Wing-Li/PracticeDemos/blob/master/SeamlessChangeTheme/img/theme.gif) ##### 11. [Drawing][Drawing] :[自定义View之绘制图形][DrawingUrl] ![](https://github.com/Wing-Li/PracticeDemos/blob/master/Drawing/img/learn.png) ![](https://github.com/Wing-Li/PracticeDemos/blob/master/Drawing/img/pie.png) ##### 12. [ViewCanvas][ViewCanvas] :[自定义View之画布操作][Drawing] ##### 13. [ViewImageText][ViewImageText] :[自定义View之图片文字][ViewImageTextUrl] ![ViewAnimation](https://github.com/Wing-Li/PracticeDemos/blob/master/ViewImageText/img/ViewImageText.gif) ##### 14. [ViewPath][ViewPath]: Path之基本操作:http://www.gcssloop.com/customview/Path_Basic Path之贝塞尔曲线:http://www.gcssloop.com/customview/Path_Bezier ![ViewPath](https://github.com/Wing-Li/PracticeDemos/blob/master/ViewPath/img/ViewPath.gif) ##### 15. [BottomBar 2.0][BottomBar2.0] :[【BottomBar】Android炫酷的底部切换效果V2.0](http://www.jianshu.com/p/2bafd1bbb21b) ![shy](https://github.com/Wing-Li/PracticeDemos/blob/master/BottomBar2.0/img/shy-demo.gif) ![shifting](https://github.com/Wing-Li/PracticeDemos/blob/master/BottomBar2.0/img/shifting-demo.gif) ##### 16. [PathMeasure][PathMeasure] :[自定义View之PathMeasure][PathMeasureUrl] ![PathMeasure](https://github.com/Wing-Li/PracticeDemos/blob/master/PathMeasure/img/PathMeasure.gif) ##### 17. [MakeTable][MakeTable] :Android 制作类似于 Excel 的表格 ![MakeTable](https://github.com/Wing-Li/PracticeDemos/blob/master/MakeTable/img/table.png) ##### 18. [DownloadManager][DownloadManager] :调用系统提供的 DownloadManager 类来下载文件 ![DownloadManager](https://github.com/Wing-Li/PracticeDemos/blob/master/DownloadManager/img/download.gif) [Hack3_ViewGroupUrl]:http://www.jianshu.com/p/d099d48cf843 [Hack7_CanvasAnimeUrl]:http://www.jianshu.com/p/4915e1a8734a [Hack10_CustomizeTextUrl]:http://www.jianshu.com/p/3a6a3d2fb340 [DiyViewPagerUrl]:http://blog.csdn.net/lmj623565791/article/details/51339751 [ViewAnimationUrl]:http://www.jianshu.com/p/df24bae5e8c3 [DrawingUrl]:http://www.gcssloop.com/customview/Canvas_BasicGraphics [ViewImageTextUrl]:http://www.gcssloop.com/customview/Canvas_PictureText [PathMeasureUrl]:http://www.gcssloop.com/customview/Path_PathMeasure [BottomBar2.0]:https://github.com/Wing-Li/AndroidPractice/tree/master/BottomBar2.0 [CoordinatorDemo]:https://github.com/Wing-Li/AndroidPractice/tree/master/CoordinatorDemo [DiyViewPager]:https://github.com/Wing-Li/AndroidPractice/tree/master/DiyViewPager [DownloadManager]:https://github.com/Wing-Li/AndroidPractice/tree/master/DownloadManager [Drawing]:https://github.com/Wing-Li/AndroidPractice/tree/master/Drawing [Hack10_CustomizeText]:https://github.com/Wing-Li/AndroidPractice/tree/master/Hack10_CustomizeText [Hack26_SectionListView]:https://github.com/Wing-Li/AndroidPractice/tree/master/Hack26_SectionListView [Hack3_ViewGroup]:https://github.com/Wing-Li/AndroidPractice/tree/master/Hack3_ViewGroup [Hack7_CanvasAnime]:https://github.com/Wing-Li/AndroidPractice/tree/master/Hack7_CanvasAnime [ItemDragDemo]:https://github.com/Wing-Li/AndroidPractice/tree/master/ItemDragDemo [MakeTable]:https://github.com/Wing-Li/AndroidPractice/tree/master/MakeTable [PathMeasure]:https://github.com/Wing-Li/AndroidPractice/tree/master/PathMeasure [SeamlessChangeTheme]:https://github.com/Wing-Li/AndroidPractice/tree/master/SeamlessChangeTheme [ThemeChange]:https://github.com/Wing-Li/AndroidPractice/tree/master/ThemeChange [ViewAnimation]:https://github.com/Wing-Li/AndroidPractice/tree/master/ViewAnimation [ViewCanvas]:https://github.com/Wing-Li/AndroidPractice/tree/master/ViewCanvas [ViewImageText]:https://github.com/Wing-Li/AndroidPractice/tree/master/ViewImageText [ViewPath]:https://github.com/Wing-Li/AndroidPractice/tree/master/ViewPath