Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20180427 制約付きレイアウトと仲良くする
Search
Kei Ito
April 27, 2018
Programming
1.8k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20180427 制約付きレイアウトと仲良くする
Kei Ito
April 27, 2018
Transcript
21 slides
੍͖ϨΠΞτͱ ྑ͘͢Δ .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
More Decks by Kei Ito
See All by Kei Ito
20211015 Mac CatalystでmacOS用アプリを作る
itok
2
4.6k
20210219 Flutterに入門してみた
itok
1
4.1k
20201009 iOS 14 ウィジェットをつくってみた
itok
1
2.6k
20191206 Property Wrappers 入門
itok
0
1.8k
20190920 iOS 13 対応ではまった話
itok
1
2.6k
20190726 Background App Refresh Taskがやってきた
itok
0
2.4k
20190722 Firebase Remote Configでアドネットワークを管理する
itok
0
1.8k
20190419 iOSアプリで証明書の情報を参照する
itok
0
1.6k
20190412 Android TV向けアプリを作ってみる
itok
0
1.2k
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
140
Railsバージョンを4倍にした話
optim
0
1k
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
330
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
850
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
370
Performance Optimization With LLMs
xleitix
0
250
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
380
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
310
Crash Auto Pipelines
veronikapj
1
410
Featured
See All Featured
Speed Design
sergeychernyshev
33
2.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Exploring anti-patterns in Rails
aemeredith
4
560
The Pragmatic Product Professional
lauravandoore
37
7.5k
Visualization
eitanlees
153
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
Product Roadmaps are Hard
iamctodd
55
13k
Everyday Curiosity
cassininazir
0
400
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620