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
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ConstraintLayoutを理解する
社内勉強会の資料です #深いい勉強会
Sample Code
https://github.com/akihito-okada/ConstraintLayoutSample
Young
June 30, 2018
More Decks by Young
See All by Young
GitbookからOpenApiへのAPIドキュメント移行
akihitookada
0
100
Navigation ComponentとFluxをnanaに導入した
akihitookada
0
110
Androidアプリにおけるモジュラライズの進め方
akihitookada
0
250
MotionLayoutを使ってクリスマスなアプリを作った
akihitookada
0
170
OrmaからRoomに移行する 2nd Season
akihitookada
1
790
ミャンマーのすゝめ
akihitookada
2
100
Android版 nanaとデータの永続化とDatabase
akihitookada
2
230
Android Team @ nana music, Inc.
akihitookada
0
110
OpenSTFとJenkinsで 社内のAndroid端末を有効活用する
akihitookada
0
300
Other Decks in Programming
See All in Programming
Oxcを導入して開発体験が向上した話
yug1224
4
290
net-httpのHTTP/2対応について
naruse
0
440
TAKTでAI駆動開発の品質を設計する
j5ik2o
6
980
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
550
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
ふつうのFeature Flag実践入門
irof
7
3.6k
CSC307 Lecture 17
javiergs
PRO
0
310
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
460
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
360
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
160
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
140
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
230
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Six Lessons from altMBA
skipperchong
29
4.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Building Adaptive Systems
keathley
44
3k
The untapped power of vector embeddings
frankvandijk
2
1.7k
The agentic SEO stack - context over prompts
schlessera
0
790
Git: the NoSQL Database
bkeepers
PRO
432
67k
New Earth Scene 8
popppiees
3
2.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Color Theory Basics | Prateek | Gurzu
gurzu
0
350
A Modern Web Designer's Workflow
chriscoyier
698
190k
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