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
Karumi
June 21, 2016
Technology
0
46
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
140
Kotlin and Spring boot a pleasant experience and some rough edges
karumi
0
79
kotlin for android developers
karumi
0
200
Dame tus tipos pegaso
karumi
0
130
One page product design
karumi
0
110
Version Control Systems for Researchers
karumi
1
250
Tensor flow for Android
karumi
0
120
Architecture Patterns in Practice with Kotlin
karumi
7
400
Kata Screenshot for Android & iOS
karumi
0
330
Other Decks in Technology
See All in Technology
o11yで育てる、強い内製開発組織
_awache
3
120
AI Agentと MCP Serverで実現する iOSアプリの 自動テスト作成の効率化
spiderplus_cb
0
500
SwiftUIのGeometryReaderとScrollViewを基礎から応用まで学び直す:設計と活用事例
fumiyasac0921
0
140
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
6
3.4k
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
920
Where will it converge?
ibknadedeji
0
180
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9k
SoccerNet GSRの紹介と技術応用:選手視点映像を提供するサッカー作戦盤ツール
mixi_engineers
PRO
1
170
ZOZOのAI活用実践〜社内基盤からサービス応用まで〜
zozotech
PRO
0
170
Large Vision Language Modelを用いた 文書画像データ化作業自動化の検証、運用 / shibuya_AI
sansan_randd
0
110
Azure SynapseからAzure Databricksへ 移行してわかった新時代のコスト問題!?
databricksjapan
0
140
実装で解き明かす並行処理の歴史
zozotech
PRO
1
320
Featured
See All Featured
Statistics for Hackers
jakevdp
799
220k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Done Done
chrislema
185
16k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Site-Speed That Sticks
csswizardry
11
880
KATA
mclloyd
32
15k
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