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
Custom UI Components - Android
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Moro
January 29, 2021
Programming
12
0
Share
Custom UI Components - Android
Moro
January 29, 2021
More Decks by Moro
See All by Moro
MockK and Truth - Unit Tests - Android
gabrielbmoro
0
150
More Accessible Apps - Android
gabrielbmoro
0
9
Variables and Tips - Android
gabrielbmoro
0
10
Migrating an Existing App to Compose - Android
gabrielbmoro
0
12
Recycler View and Performance - Android
gabrielbmoro
0
12
Repository Pattern and Productivity - Android
gabrielbmoro
0
13
What is new in Android Jetpack?
gabrielbmoro
0
18
List Users - Android
gabrielbmoro
0
5
Working with Collections - Kotlin
gabrielbmoro
0
15
Other Decks in Programming
See All in Programming
存在論的プログラミング: 時間と存在を記述する
koriym
5
750
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
590
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.5k
Rethinking API Platform Filters
vinceamstoutz
0
5.2k
事業会社でのセキュリティ長期インターンについて
masachikaura
0
210
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
770
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
110
モダンOBSプラグイン開発
umireon
0
190
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
480
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
230
Faster Mobile Websites
deanohume
310
31k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
330
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
260
Navigating Team Friction
lara
192
16k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
WCS-LA-2024
lcolladotor
0
510
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
440
How to Talk to Developers About Accessibility
jct
2
170
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Transcript
Custom UI Components - Android By Moro
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Basic Classes ViewGroup View 4
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
View Class View - onDraw(canvas:Canvas) - onMeasure() … … In
this canvas, you can draw everything that you want. 7
View Class View - onDraw(canvas:Canvas) - onMeasure() … … Generally,
you can ignore to customize your view. In this method, you can render a contract between your component and the container. 8
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Available Widgets and Layouts View ImageView TextView ViewGroup Button LinearLayout
FrameLayout ... 11
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Drawing a Circle 14
Bubble Loader 15
Bubble Loader 16
Bubble Loader 17
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Summary - Basic Classes - View Class - Available Widgets
and Layouts - Example of a Custom View Component - Example of a Custom Layout Component
Custom Layout Component 20
Custom Layout Component Performance issue 21
Custom Layout Component Better 22
Thanks