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
59
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Material for old schoolers
A revision about how to work with Material Design using the new Android APIs.
Karumi
June 21, 2016
More Decks by Karumi
See All by Karumi
A story of comics, neural networks, and Android!
karumi
0
180
Kotlin and Spring boot a pleasant experience and some rough edges
karumi
0
110
kotlin for android developers
karumi
0
230
Dame tus tipos pegaso
karumi
0
160
One page product design
karumi
0
140
Version Control Systems for Researchers
karumi
1
300
Tensor flow for Android
karumi
0
160
Architecture Patterns in Practice with Kotlin
karumi
7
430
Kata Screenshot for Android & iOS
karumi
0
380
Other Decks in Technology
See All in Technology
20260801_スクフェス大阪
kgnkhkr
0
170
NetBoxを利用した作業効率化の試み_NetDevNight4
tnoha
0
420
DevOps Agentで運用判断をチーム資産にする~Agent InstructionsとAgent Skillを継続的に育てる~
fujioka6789
0
180
BigQuery を検索ソースとした AI Agent の作り方って 〇〇 通りあんねん
satohjohn
0
150
reFACToring
moznion
1
1.1k
書籍セキュアAPIについて
riiimparm
0
400
MCPをつなげて作る組織横断のAIエージェント基盤
tsubakimoto_s
0
520
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
8
2k
AIエージェントに財布を渡す日 ― 承認付き"買い物エージェント"を作って実演
yama3133
0
110
AI驚き屋発見器
yama3133
1
390
Power Automateアップデート情報
miyakemito
0
290
SnowflakeCoCoでデータエンジニアリング!
foursue
0
110
Featured
See All Featured
BBQ
matthewcrist
89
10k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
160
Documentation Writing (for coders)
carmenintech
77
5.4k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
Writing Fast Ruby
sferik
630
63k
Building Adaptive Systems
keathley
44
3.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Limits of Empathy - UXLibs8
cassininazir
1
570
How to make the Groovebox
asonas
2
2.3k
Facilitating Awesome Meetings
lara
57
7k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
650
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