Wednesday, July 1, 2015

Episode 30: Android Design Library

This time, Tor and Chet are joined by Chris Banes (again!) to talk about the new Android Design Library, which was released at Google I/O 2015. Listen in to find out all about CoordinatorLayout, FAB, Snackbar, and more, more, more!

Subscribe to the podcast feed or download the audio file directly.

Relevant Links:
Chris's blog
Android Design Library Demo
Android Design Support Library (Android Developers Blog)

Chrisgoogle.com/+ChrisBanes
Torgoogle.com/+TorNorbye
Chetgoogle.com/+ChetHaase

3 comments:

  1. @Chris @Chet : I tried to play around with app:keylines and layout_keyline, but couldn't figure out the way to use them, can you please provide some tips on it. Thanks.

    ReplyDelete
    Replies
    1. In you CoordinatorLayout you need to add:
      app:keylines="@array/keylines"

      Where @array/keylines points to an integer-array with int values of distances (in dp) from the left margin.

      Then in the CoordinatorLayout children's you can specify which keyline it should follow by using the index of that keyline in the keylines array:
      app:layout_keyline="0".

      It seems that it only works for direct children of CoordinatorLayout.

      Delete
  2. I am unable to find any documentation on keylines. Any help?

    ReplyDelete