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
20180427 制約付きレイアウトと仲良くする
Search
Kei Ito
April 27, 2018
Programming
1.7k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20180427 制約付きレイアウトと仲良くする
Kei Ito
April 27, 2018
More Decks by Kei Ito
See All by Kei Ito
20211015 Mac CatalystでmacOS用アプリを作る
itok
2
4.5k
20210219 Flutterに入門してみた
itok
1
4.1k
20201009 iOS 14 ウィジェットをつくってみた
itok
1
2.5k
20191206 Property Wrappers 入門
itok
0
1.7k
20190920 iOS 13 対応ではまった話
itok
1
2.5k
20190726 Background App Refresh Taskがやってきた
itok
0
2.3k
20190722 Firebase Remote Configでアドネットワークを管理する
itok
0
1.7k
20190419 iOSアプリで証明書の情報を参照する
itok
0
1.6k
20190412 Android TV向けアプリを作ってみる
itok
0
1.1k
Other Decks in Programming
See All in Programming
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
Dockerfile CMD for Node.js
grazie1999
0
120
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.1k
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
7.8k
ソフトウェアラスタライザ
fadis
1
660
リアルな遅延を測る仕様
kota_yata
1
130
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
260
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
490
メールのエイリアス機能を履き違えない
isshinfunada
0
250
不幸な GC
chencmd
0
740
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
730
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
150
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
250
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
490
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Accessibility Awareness
sabderemane
1
180
WENDY [Excerpt]
tessaabrams
11
39k
The Curious Case for Waylosing
cassininazir
1
480
The untapped power of vector embeddings
frankvandijk
2
1.8k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
290
Practical Orchestrator
shlominoach
191
12k
Transcript
੍͖ϨΠΞτͱ ྑ͘͢Δ .PCJMF"DU04"," JUPL!ͦΒ͔ͥ
JUPL!ͦΒ͔ͥ w ͍ͱ͏͚͍ʢJUPLʣ w ɹɹɹɹɹɹͷதͷਓʢʴ෭ۀˏͯͳʣ w ϞόΠϧΞϓϦΤϯδχΞ݉$&0 w IUUQJUPLKQ IUUQTPSBLB[FDPKQ
!JUPL@UXJU
ྫ Ҏ্ ॎԣՄม ԣՄม
ྫ Ҏ্ ॎԣՄม ԣՄม
J04 "VUP-BZPVU
"VUP-BZPVU USBJMJOHNBSHJO㱢 ॎԣՄม ԣՄม
"OESPJE
$POTUSBJOU-BZPVU ਖ਼ࣜϦϦʔε IUUQTBOESPJETUVEJPHPPHMFCMPHDPN DPOTUSBJOUMBZPVUIUNM
$POTUSBJOU-BZPVU MBZPVU@DPOTUSBJOU8JEUI@NJO ॎԣՄม ԣՄม
ͷ৽ػೳ
αΠζࢦఆͷ͍Ζ͍Ζ ."5$)@1"3&/5 ʹ͕ͨ͠͏ 83"1@$0/5&/5 දࣔ༰ʹ͕ͨ͠͏ ."5$)@$0/453"*/5 ʢEQʣ ੍ʹ͕ͨ͠͏ 83"1@$0/5&/5 ੍
දࣔ༰ʹ͕ͨ͠͏ ͕ͩɺ੍ʹ͕ͨ͠͏ /&8
83"1@$0/5&/5 ੍ • app:layout_constrainedWidth="true|false" • app:layout_constrainedHeight="true|false"
࠷େ࠷খ • app:layout_constraintWidth_min • app:layout_constraintWidth_max • app:layout_constraintHeight_min • app:layout_constraintHeight_max ."5$)@$0/453"*/5
ׂ߹ • app:layout_constraintWidth_percent • app:layout_constraintHeight_percent ʙ ."5$)@$0/453"*/5
ԁܗஔ • app:layout_constraintCircle • app:layout_constraintCircleRadius • app:layout_constraintCircleAngle
NBSHJO ྫͷճྫ Ҏ্ JDPO UFYU UFYU
NBSHJO ྫͷճྫ Ҏ্ JDPO UFYU UFYU android:layout_width="wrap_content"
android:layout_height="wrap_content" app:layout_constrainedWidth="true" UFYU83"1@$0/5&/5 ੍
NBSHJO ྫͷճྫ Ҏ্ JDPO UFYU UFYU android:layout_width="0dp"
app:layout_constraintWidth_min="40dp" NBSHJO."5$)@$0/453"*/5
ྫͷճྫ <View android:layout_width="30dp" android:layout_height="30dp" android:id="@+id/icon" android:background="#00F" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" android:layout_marginStart="10dp" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toEndOf="@id/icon" app:layout_constraintEnd_toStartOf="@id/margin" android:layout_marginStart="10dp" app:layout_constrainedWidth="true" android:id="@+id/text1" android:background="#0F0" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/text1" app:layout_constraintStart_toEndOf="@id/text1" android:layout_marginStart="5dp" android:id="@+id/text2" android:background="#F00" /> <View android:layout_height="1dp" android:layout_width="0dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toEndOf="@id/text1" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintWidth_min="40dp" android:id="@+id/margin" android:background="#000"/>
ྫͷճྫ
·ͱΊ w $POTUSBJOU-BZPVUͰෳࡶͳϨΠΞτΛ࣮ݱͤ͞ Α͏ w IUUQTEFWFMPQFSBOESPJEDPNSFGFSFODF BOESPJETVQQPSUDPOTUSBJOU $POTUSBJOU-BZPVUIUNM