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

Material Design for Old Schoolers

Material Design for Old Schoolers

Nowadays, we as android developers suffer serious problems regarding android fragmentation if we wanna use Material Design.
In this talk we will learn how to make backward compatibility easier when applying material design on older devices.
Welcome to the old school world of Material Design.

Fernando Cejas

January 31, 2015
Tweet

More Decks by Fernando Cejas

Other Decks in Programming

Transcript

  1. Material for old schoolers Fernado Cejas - Souncloud aka Cejakas

    @fernando_cejas [email protected] +FernandoCejas Jorge J. Barroso - Karumi aka Flipper83 @flipper83 [email protected] +JorgeJBarroso
  2. Styling Material values/themes.xml ! <style name="AppTheme" parent="BaseAppTheme">
 </style> ! values-21/themes.xml

    ! <style name="AppTheme" parent="BaseAppTheme">
 <item name="android:windowContentTransitions">true</item>
 <item name="android:windowAllowEnterTransitionOverlap">true</item>
 <item name="android:windowAllowReturnTransitionOverlap">true</item>
 </style>
  3. VectorDrawable vs ‘Font as icon’ You can use icon fonts

    for reduce the number of assets on you app. Keep performance!!! please!!
  4. Transitions ActivityOptionsCompat options = ActivityOptionsCompat.
 makeSceneTransitionAnimation((Activity) context, pairs);
 ! !

    <style name="AppTheme" parent="BaseAppTheme">
 <item name="android:windowContentTransitions">true</item>
 <item name="android:windowAllowEnterTransitionOverlap">true</item>
 <item name="android:windowAllowReturnTransitionOverlap">true</item>
 </style>
  5. Q&A