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
Moro
January 29, 2021
Programming
0
10
Custom UI Components - Android
Moro
January 29, 2021
Tweet
Share
More Decks by Moro
See All by Moro
MockK and Truth - Unit Tests - Android
gabrielbmoro
0
130
More Accessible Apps - Android
gabrielbmoro
0
7
Variables and Tips - Android
gabrielbmoro
0
9
Migrating an Existing App to Compose - Android
gabrielbmoro
0
8
Recycler View and Performance - Android
gabrielbmoro
0
10
Repository Pattern and Productivity - Android
gabrielbmoro
0
10
What is new in Android Jetpack?
gabrielbmoro
0
14
List Users - Android
gabrielbmoro
0
4
Working with Collections - Kotlin
gabrielbmoro
0
10
Other Decks in Programming
See All in Programming
XStateでReactに秩序を与えたい
gizm000
0
730
大公開!iOS開発の悩みトップ5 〜iOSDC Japan 2024〜
ryunakayama
0
190
o1モデルのプロンプトエンジニアリングって?
ktc_wada
0
160
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
390
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
250
事業フェーズの変化に対応する 開発生産性向上のゼロイチ
masaygggg
0
200
What you can do with Ruby on WebAssembly
kateinoigakukun
0
160
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
990
KSPの導入・移行を前向きに検討しよう!
shxun6934
PRO
0
220
Some more adventure of Happy Eyeballs
coe401_
2
180
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1029
450k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How to name files
jennybc
75
98k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
47
48k
Into the Great Unknown - MozCon
thekraken
29
1.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Happy Clients
brianwarren
96
6.6k
Designing the Hi-DPI Web
ddemaree
278
34k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
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