Android网络课程笔记-----开源项目中的自定义控件

    
  

java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.castorflex.android.smoothprogressbar.sample/fr.castorflex.android.smoothprogressbar.sample.MainActivity}: android.view.InflateException: Binary XML file line #90: Error inflating class 
fr.castorflex.android.smoothprogressbar.SmoothProgressBar
    <fr.castorflex.android.smoothprogressbar.SmoothProgressBar
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:indeterminate="true"
        app:spb_colors="@array/colors"
        app:spb_sections_count="12" />

常见的问题:
1. 解决编译问题


GoogleStyle App结构
1. GMail  GoogleMap Google Plus
2. 知乎   饭本   Fuubo


好处:统一风格,使用户容易上手
如何实现:Actionbar/MenuDrawer/Fragment


作业:
1. 在MenuDrawer基础上集成Actionbar
2. 侧滑菜单点击事件,切换Fragment

原文地址:https://www.cnblogs.com/vijay/p/3740742.html