Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Support Libraries: v25 and beyond (Londroid Jan 2017)

Chris Banes
January 23, 2017

Support Libraries: v25 and beyond (Londroid Jan 2017)

Learn about some of the new features and improvements that we have released in v25 of the Android Support Library.

https://www.meetup.com/android/events/236377871/

Chris Banes

January 23, 2017
Tweet

More Decks by Chris Banes

Other Decks in Technology

Transcript

  1. 25 AND BEYOND
    SUPPORT LIBRARY
    +ChrisBanes

    @chrisbanes

    View Slide

  2. Palette

    v4
    MediaRouter
    Percent
    AppCompat
    Design
    Custom

    Tabs
    Annotations
    RecyclerView
    Leanback
    CardView
    GridLayout Preference
    Transition
    Vector
    Exif
    v13

    View Slide


  3. v4
    core-ui compat
    core-utils fragment
    media
    Palette
    MediaRouter
    Percent
    AppCompat
    Design
    Custom

    Tabs
    Annotations
    RecyclerView
    Leanback
    CardView
    GridLayout Preference
    Transition
    Vector
    Exif
    v13

    View Slide

  4. As of 25.1.1
    27
    make up the
    ‘Support Library’
    libraries

    View Slide

  5. As of 25.1.1
    424
    public classes
    make up the
    ‘Support Library’

    View Slide

  6. As of 25.1.1
    5854
    public methods
    make up the
    ‘Support Library’

    View Slide

  7. As of 25.1.1
    238
    people have
    committed to
    frameworks/support

    View Slide

  8. SUPPORT LIBRARY
    ExifInterface
    New in 25.1.0

    View Slide

  9. Allows reading/writing of exif tags in JPEG
    and RAW files

    View Slide

  10. Same API as framework counterpart
    Allows reading/writing of exif tags in JPEG
    and RAW files

    View Slide

  11. Same API as framework counterpart
    Pure Java implementation
    Allows reading/writing of exif tags in JPEG
    and RAW files

    View Slide

  12. SUPPORT LIBRARY
    BottomNavigationView
    New in 25.0.0

    View Slide

  13. View Slide

  14. android:layout_width="match_parent"
    android:layout_height="56dp"
    app:menu="@menu/my_navigation_items" />

    View Slide


  15. android:title="@string/menu_search"
    android:icon="@drawable/ic_search" />
    android:title="@string/menu_settings"
    android:icon="@drawable/ic_add" />
    android:title="@string/menu_navigation"
    android:icon="@drawable/ic_action_navigation_menu" />

    View Slide

  16. SUPPORT LIBRARY
    minSdkVersion++

    View Slide

  17. In 24.0.0, we had

    various min sdk values
    4+

    View Slide

  18. In 24.1.0, we moved to
    minSdkVersion…

    View Slide

  19. 9

    View Slide

  20. In 26.0.0, we will
    9

    change again
    (probably)

    View Slide

  21. SUPPORT LIBRARY
    Material Design Components
    material.io/components

    View Slide

  22. View Slide

  23. View Slide

  24. Design lib
    Material Components for Android

    View Slide

  25. http://androidbackstage.blogspot.com

    View Slide