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.6k
20190419 iOSアプリで証明書の情報を参照する
itok
0
1.5k
20190412 Android TV向けアプリを作ってみる
itok
0
1.1k
Other Decks in Programming
See All in Programming
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
290
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
110
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
200
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.4k
New "Type" system on PicoRuby
pocke
1
970
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
790
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
260
ふつうのFeature Flag実践入門
irof
8
4k
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
The NotImplementedError Problem in Ruby
koic
1
840
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
270
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
390
Balancing Empowerment & Direction
lara
6
1.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
320
Bash Introduction
62gerente
615
220k
Thoughts on Productivity
jonyablonski
76
5.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
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