Slide 1

Slide 1 text

/FX-BZPVU&EJUPS XJUI$POTUSBJOU-BZPVU ࢤำါل !TIJIPDIBO !QPUBUPUJQT

Slide 2

Slide 2 text

ࣗݾ঺հ ࢤำါلʢ͠΄Ώ͏͖ʣ !TIJIPDIBO !TIJIPDIBOEFTV

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Introducing ConstraintLayout

Slide 5

Slide 5 text

(PPHMF*0Ͱൃද͞Εͨ৽͍͠ϨΠΞ΢τ ϨΠΞ΢τΛϚςϦΞϧσβΠϯʹ४ڌͨ͠࠷దͳҐ ஔʹࣗಈௐ੔ ಛ௃ (6*ϕʔεͰϨΠΞ΢τΛ࡞੒ "OESPJE4UVEJP͕ࣗಈͰYNMΛੜ੒ "VUP$POOFDUͱ*OGFSFODFʹΑΔϨΠΞ΢τ੍໿ "1*dରԠ "CPVU$POTUSBJOU-BZPVUʢʣ

Slide 6

Slide 6 text

࢖༻ཁ݅ "OESPJE4UVEJPWQSFWJFXd +%,d "CPVU$POTUSBJOU-BZPVUʢʣ

Slide 7

Slide 7 text

$POTUSBJOU-BZPVUಋೖʢʣ a. Click Tools > Android > SDK Manager. b. Click the SDK Tools tab. c. Select Android Support Repository, then click OK. 1. Ensure you have the latest Android Support Repository (version 32 or higher):

Slide 8

Slide 8 text

$POTUSBJOU-BZPVUಋೖʢʣ dependencies { compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha1' } 2. Add the Constraint Layout library as a dependency in your build.gradle file: 3. In the toolbar or sync notification, click Sync Project with Gradle Files.

Slide 9

Slide 9 text

$POTUSBJOU-BZPVUಋೖʢʣ 4. Create Layout resource file and Add ConstraintLayout. 5. Select Design tab and makes layout.

Slide 10

Slide 10 text

"VUP$POOFDUJOBDUJPO

Slide 11

Slide 11 text

"EEJOHBDPOTUSBJOUUPUIFMBZPVUFEHF

Slide 12

Slide 12 text

"DPOTUSBJOUCFUXFFOUXPWJFXT Adding a constraint to the anchor on another view Adding a baseline constraint between views

Slide 13

Slide 13 text

$FOUFSJOHBWJFXCZBEEJOHBDPOTUSBJOUPOCPUITJEFT

Slide 14

Slide 14 text

5IF1SPQFSUJFTXJOEPX

Slide 15

Slide 15 text

খن໛Ͱόϯυϧ͞Ε͍ͯͳ͍ϥΠϒϥϦ "1*dରԠ ։ൃεϐʔυͷ޲্ ύϑΥʔϚϯεͷ޲্ ϨΠΞ΢τͷෆཁͳωετ͕ݮΔ

Slide 16

Slide 16 text

ੜ੒͞ΕͨYNMͷՄಡੑ͕ѱ͍ BUUSJCVUFT͕ଟ͍ ίʔυϨϏϡʔ͕Ͱ͖ͳ͍ ੜ੒͞ΕͨYNMʹखΛೖΕͳ͍΄͏͕ྑͦ͞͏ɾɾɾ