What's new in Android Support Library (Google I/O '17)

Android Developers · 29K views · 2017 · 36:20

Open on YouTube

Software (other)Software practice, open source & careerstalkdated

Why Stack Overflow recommends it

Stack Overflow users link it as the source for Support Library features introduced around Google I/O 2017, such as fonts in XML, the Google Maven repository, and disabling drawer arrow animation.

Recommended by 1 people across 1 different months, 2017 to 2017.

What it is

A Google I/O 2017 conference talk from the Android team on best practices for using Support Library modules in apps, with emphasis on new features in versions 25 and 26. It covers additions such as font resources in XML and drawer toggle improvements.

What people said

Recommends Abror Esonaliev · 2017-03 · Stack Overflow · on “How do I specify eg. Roboto-Medium or Roboto-Black in styles.xml”

NEW SOLUTION After Google I/O '17 [this video] you can create multiple font family in res/font folder <?xml version="1.0" encoding="utf-8"?> <font-family xmlns:app=" [LINK] "> <font app:font="@font/roboto_light" app:fontStyle="normal" app:fontWeight="300" /> <font app:font="@font/roboto_bold" app:fontStyle="normal" app:fontWeight="700" /> </font-family> and you can use wherever want <style name="AppTheme.DefaultTextView" parent="android:style/Widget.TextView"> <item name="android:textColor">@color/colorBlack</item> <item name="android:fontFamily">@font/font_family_roboto</item> </style> [LINK] [LINK] OLD ANSWER Thanks for Jakob Eriksson original answer [LINK] android:fontFamily="sans-serif" // ro

Cites Ryan R · 2017-05 · Stack Overflow · on “Why aren't the Android SDK Jars in any Maven Repository?”

Google now has an official maven repository announced at Google IO 2017. buildscript { repositories { maven { // Google Maven Repository url ' [LINK] ' } } ... } What's New in Android Support Library (Google I/O '17) [this video] What's New in Android Development Tools (Google I/O '17) [LINK] Google's Maven repository [LINK] Migrate to the New Plugin [LINK]

Cites azizbekian · 2017-07 · Stack Overflow · on “Turn off navigation drawer arrow animation”

On Google IO 2017 this API was introduced, which is available from support library version 25.3.0. // Install drawer toggle drawerToggle = new ActionBarDrawerToggle(this, drawerLayout, R.string.drawer_open, R.string.drawer_close); // Disable animation drawerToggle.setDrawerSlideAnimationEnabled(false); This will make the drawer arrow not to be animated. See video [this video] at exact minute. [LINK]