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
ConstraintLayoutを理解する
Search
Young
June 30, 2018
Programming
0
110
ConstraintLayoutを理解する
社内勉強会の資料です #深いい勉強会
Sample Code
https://github.com/akihito-okada/ConstraintLayoutSample
Young
June 30, 2018
Tweet
Share
More Decks by Young
See All by Young
GitbookからOpenApiへのAPIドキュメント移行
akihitookada
0
97
Navigation ComponentとFluxをnanaに導入した
akihitookada
0
99
Androidアプリにおけるモジュラライズの進め方
akihitookada
0
240
MotionLayoutを使ってクリスマスなアプリを作った
akihitookada
0
160
OrmaからRoomに移行する 2nd Season
akihitookada
1
780
ミャンマーのすゝめ
akihitookada
2
97
Android版 nanaとデータの永続化とDatabase
akihitookada
2
220
Android Team @ nana music, Inc.
akihitookada
0
100
OpenSTFとJenkinsで 社内のAndroid端末を有効活用する
akihitookada
0
290
Other Decks in Programming
See All in Programming
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
460
Architectural Extensions
denyspoltorak
0
300
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
290
並行開発のためのコードレビュー
miyukiw
0
320
Fluid Templating in TYPO3 14
s2b
0
130
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
CSC307 Lecture 02
javiergs
PRO
1
780
2026年 エンジニアリング自己学習法
yumechi
0
140
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
Featured
See All Featured
Leo the Paperboy
mayatellez
4
1.4k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Navigating Team Friction
lara
192
16k
Mind Mapping
helmedeiros
PRO
0
89
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Abbi's Birthday
coloredviolet
1
4.8k
Music & Morning Musume
bryan
47
7.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Transcript
ConstraintLayout Λཧղ͢Δ
Introduction • ConstraintLayoutAndroidͷLayoutͷτϨϯυ • ϨεϙϯγϒͳUIෳࡶͳUIΛ࣮ݱͰ͖Δ • ଟػೳͰैདྷͷLayoutΛஔ͖͑ΒΕΔ • Viewͷ૬ରతͳҐஔΛ੍͢Δ͜ͱͰLayoutΛߏ •
֊Λ࡞ΒͣʹFlatͳLayoutΛ࡞ΕΔ • iOSͷStoryboardͷ༷ʹEditorΛͬͯLayoutΛ࡞ΕΔ
Sample Code • https://github.com/akihito-okada/ ConstraintLayoutSample
ConstraintLayout 1.0
ConstraintLayout 1.0 • View Size • Wrap Content • Match
Constraints • Ratio • Fixed • Text Baseline Alignment • Guideline • layout_goneMargin • ConstraintSet
ConstraintLayout 1.1
ConstraintLayout 1.1 • View Size • Percent • Chains •
Group • Barrier • Circular Positioning • Placeholder
ConstraintLayout 2.0 …
ConstraintLayout 2.0 • ConstraintProperties • ImageFilterView • Layer • MockView
• MotionLayout
Conclusion • ConstraintLayout ָ͍͠ • nana ʹೖΕ͍ͯ͘ • ࣍ 2.0