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
Custome Views
Search
saulpower
March 13, 2014
Technology
0
46
Custome Views
saulpower
March 13, 2014
Tweet
Share
More Decks by saulpower
See All by saulpower
Drawables & Animations
saulpower
0
50
View Wiring, Intents, Manifest
saulpower
0
39
Activity & View
saulpower
0
56
Other Decks in Technology
See All in Technology
LINEギフト・LINEコマース領域の開発
lycorptech_jp
PRO
0
230
Dart and Flutter MCP serverで実現する AI駆動E2Eテスト整備と自動操作
yukisakai1225
0
550
ある編集者のこれまでとこれから —— 開発者コミュニティと歩んだ四半世紀
inao
5
3.3k
大規模モノレポの秩序管理 失速しない多言語化フロントエンドの運用 / JSConf JP 2025
shoota
0
180
[mercari GEARS 2025] Building Foundation for Mercari’s Global Expansion
mercari
PRO
1
130
第65回コンピュータビジョン勉強会
tsukamotokenji
0
150
Javaコミュニティの歩き方 ~参加から貢献まで、すべて教えます~
tabatad
0
130
AWS資格は取ったけどIAMロールを腹落ちできてなかったので、年内に整理してみた
hiro_eng_
0
230
Axon Frameworkのイベントストアを独自拡張した話
zozotech
PRO
0
150
re:Invent2025 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
140
LINEスキマニ/LINEバイトにおけるバックエンド開発
lycorptech_jp
PRO
0
230
Error.prototype.stack の今と未来
progfay
1
160
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Done Done
chrislema
186
16k
Facilitating Awesome Meetings
lara
57
6.6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Rails Girls Zürich Keynote
gr2m
95
14k
Docker and Python
trallard
46
3.6k
How STYLIGHT went responsive
nonsquared
100
5.9k
Designing for Performance
lara
610
69k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
The Pragmatic Product Professional
lauravandoore
36
7k
Transcript
Learn Android Custom Views
Goals Create a custom view
Views Use in XML Custom Attributes Apply attributes in constructor
Layout Measure Pass onMeasure() MeasureSpec Size and Mode AT_MOST, EXACTLY,
UNSPECIFIED setMeasuredDimension() Layout Pass onLayout() requestLayout()
Drawing Canvas & Paint Transformations Drawing operations invalidate() ObjectAnimator
Touch MotionEvent Action onInterceptTouchEvent() onTouchEvent()