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
yield再入門 #phpcon
o0h
PRO
0
930
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
4
1.3k
React本体のコードリーディング
high_g_engineer
1
130
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
310
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
3.8k
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
140
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
480
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
180
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
180
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.2k
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
200
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
290
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
250
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
190
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.2k
Between Models and Reality
mayunak
4
380
Agile that works and the tools we love
rasmusluckow
331
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
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