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

Material for old schoolers

Material for old schoolers

A revision about how to work with Material Design using the new Android APIs.

Karumi

June 21, 2016
Tweet

More Decks by Karumi

Other Decks in Technology

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