Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Material for old schoolers
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Karumi
June 21, 2016
Technology
0
47
Material for old schoolers
A revision about how to work with Material Design using the new Android APIs.
Karumi
June 21, 2016
Tweet
Share
More Decks by Karumi
See All by Karumi
A story of comics, neural networks, and Android!
karumi
0
150
Kotlin and Spring boot a pleasant experience and some rough edges
karumi
0
89
kotlin for android developers
karumi
0
210
Dame tus tipos pegaso
karumi
0
130
One page product design
karumi
0
120
Version Control Systems for Researchers
karumi
1
280
Tensor flow for Android
karumi
0
140
Architecture Patterns in Practice with Kotlin
karumi
7
410
Kata Screenshot for Android & iOS
karumi
0
360
Other Decks in Technology
See All in Technology
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
5
1.6k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
3分でわかる!新機能 AWS Transform custom
sato4mi
1
280
ゼロから始めたFindy初のモバイルアプリ開発
grandbig
2
590
DEVCON 14 Report at AAMSX RU65: V9968, MSX0tab5, MSXDIY etc
mcd500
0
240
セキュリティ はじめの一歩
nikinusu
0
1.3k
新規事業における「一部だけどコア」な AI精度改善の優先順位づけ
zerebom
0
450
いよいよ仕事を奪われそうな波が来たぜ
kazzpapa3
3
310
SREの仕事を自動化する際にやっておきたい5つのポイント
jacopen
6
1.2k
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
210
SMTP完全に理解した ✉️
yamatai1212
0
160
ファシリテーション勉強中 その場に何が求められるかを考えるようになるまで / 20260123 Naoki Takahashi
shift_evolve
PRO
3
430
Featured
See All Featured
For a Future-Friendly Web
brad_frost
182
10k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
290
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
77
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
From π to Pie charts
rasagy
0
120
Bash Introduction
62gerente
615
210k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Designing for Timeless Needs
cassininazir
0
120
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Transcript
Material for old schoolers Fernado Cejas - Souncloud aka Cejakas
@fernando_cejas
[email protected]
+FernandoCejas Jorge J. Barroso - Karumi aka Flipper83 @flipper83
[email protected]
+JorgeJBarroso
Material is cool
What happens with old schoolers
What google provides?
com.android.support:appcompat-v7 Themes ActionBar and ToolBar Transitions Widget Tinting
Styling Material <style name="BaseAppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorPrimary">@color/theme_default_primary</item> <item name="colorPrimaryDark">@color/theme_default_primary_dark</item> <item
name="colorAccent">@color/theme_default_accent</item> <item name="colorControlHighlight">@color/theme_default_accent_light</item> </style>
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>
Be careful with some Samsung devices Proguard to the rescue!!!
Tint doesn’t work on custom views!!
com.android.support:recyclerview-v7 Bye Bye List view! Extends from RecyclerAdapter ViewHolder by
default Layout manager
com.android.support:recyclerview-v7 Change your dividers for ItemDecoration
com.android.support:recyclerview-v7 Change your headers and footers for ItemTypes.
com.android.support:recyclerview-v7 OnItemClick doesn’t exist any more, delegate click functionality to
view holders
com.android.support:recyclerview-v7 Add animations with ItemAnimator, it’s easy and it’s cool.
com.android.support:cardview-v7
com.android.support:palette-v7 Only in compat Check null Problems with some images
Toolbar vs ActionBar ToolBar is a viewGroup setSupportActionBar(); Extends from
ActionBarActivity Deactivate ActionBar via Theme
VectorDrawable vs ‘Font as icon’ You can use icon fonts
for reduce the number of assets on you app. Keep performance!!! please!!
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>
None
Bibliography https://developer.android.com/training/material/compatibility.html http://android-developers.blogspot.de/2014/10/implementing-material-design-in-your.html http://antonioleiva.com/material-design-everywhere/ http://www.slideshare.net/arueggeberg/material-design-and-backwards-compatibility https://github.com/navasmdc/MaterialDesignLibrary https://github.com/markushi/android-ui https://github.com/flipper83/transition-old-school
Q&A