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
93
Navigation ComponentとFluxをnanaに導入した
akihitookada
0
95
Androidアプリにおけるモジュラライズの進め方
akihitookada
0
230
MotionLayoutを使ってクリスマスなアプリを作った
akihitookada
0
150
OrmaからRoomに移行する 2nd Season
akihitookada
1
750
ミャンマーのすゝめ
akihitookada
2
92
Android版 nanaとデータの永続化とDatabase
akihitookada
2
210
Android Team @ nana music, Inc.
akihitookada
0
93
OpenSTFとJenkinsで 社内のAndroid端末を有効活用する
akihitookada
0
280
Other Decks in Programming
See All in Programming
XSLTで作るBrainfuck処理系
makki_d
0
210
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
130
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
190
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
540
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.4k
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
410
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
160
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
330
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
エンジニア向け採用ピッチ資料
inusan
0
160
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
110
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
How GitHub (no longer) Works
holman
314
140k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Statistics for Hackers
jakevdp
799
220k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
A better future with KSS
kneath
239
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
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