What's new with ConstraintLayout and Android Studio design tools (Google I/O '18)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025

ความคิดเห็น • 67

  • @Eric-zd3ym
    @Eric-zd3ym 6 ปีที่แล้ว +25

    That motion design tool in Android Studio is dope. Can't wait to try it out!

    • @harounhajem7972
      @harounhajem7972 5 ปีที่แล้ว

      Do you know if they have any release dates yet?

  • @codinginflow
    @codinginflow 6 ปีที่แล้ว +9

    I will cover everything in my ConstraintLayout tutorial as soon as the stable releases are out

    • @李晧暐
      @李晧暐 4 ปีที่แล้ว

      Please make some tutorial of Motion Editor! PLEASE!

  • @tudorpop3579
    @tudorpop3579 6 ปีที่แล้ว

    finally some great support....writing this by hand was such a pain!

  • @mikekamau
    @mikekamau 6 ปีที่แล้ว +1

    Notes from this presentation:
    1. ConstraintLayout now works with custom views
    2. Convert Views straight from right-click context menu. Suggestions offered are contextual; intelligently offered based on the type of View selected.
    3. Navigate to and from`included` layout via siongle click in the Component tree
    4. Improved menu options to aid to View position. This avoid writing too much XML by hand
    5. Tools attribute give additional info to the layout editor. Useful especially in contexts where data is remote or unavailable any design time e.g for RecyclerViews, ImageViews
    6. Sample Data: provide data, that is normally not available at design time: @sample/. Can use both built-in data or create data In files in a sample data folder at the root directory of the project.Sample data can be complex JSON too: album.json/title, album.json/artists/lead
    7. Design Time Helper: “wrench” icon in the Bottom-Left of a View in Design View. Helps select Sample data
    8. Helper objects - barriers , guidelines. These are not view groups, hence, the ConstraintLayout remains flat. A single View can be referenced in multiple Helpers
    Layout Manipulation: e.g Linear, Flow
    Post-layout Manipulation:
    Rendering/Decorating
    Layers:
    9. Declare ConstraintSets via XML as with a . Use setLayoutDescription() in code to apply them. Switch states by calling setState(state_id)
    10. MotionLayout
    - Takes animation among ConstraintSet to another level
    - KeyFrames: distort animation paths
    - KeyCycles
    - Motion Editor : Create, Edit animation in Design View

  • @witoldsienski1709
    @witoldsienski1709 6 ปีที่แล้ว

    ConstraintLayout is the best feature for building UI and animations :)

  • @remmievail8148
    @remmievail8148 6 ปีที่แล้ว +4

    Motion editor looks great! Looking for a release date!

  • @Baannia
    @Baannia 6 ปีที่แล้ว +5

    It's really hard to understand the speaker's talk about. But this is AWESOME!!!)))

  • @milanjovic8325
    @milanjovic8325 6 ปีที่แล้ว

    Great work guys!!

  • @KeySabre
    @KeySabre 6 ปีที่แล้ว

    It reminds me Flash... finally we can edit some cool animations easily! Bravo!

  • @RicardoTrevizo
    @RicardoTrevizo 6 ปีที่แล้ว

    Motion Design Tool looks awesome!

  • @HaraldHalbig
    @HaraldHalbig 6 ปีที่แล้ว

    So much awesome stuff. Can't wait to try it out!

  • @techgo4431
    @techgo4431 6 ปีที่แล้ว

    Android Studio came a long way nice

  • @robkeazor9709
    @robkeazor9709 6 ปีที่แล้ว

    Damn with these cool tools, there needs to a book dedicated to constraint layout 2.0 lol

  • @Rick-ko1bz
    @Rick-ko1bz 6 ปีที่แล้ว

    Awesome work, thanks for your hard work and looking forward to try it!

  • @igorg.8624
    @igorg.8624 5 ปีที่แล้ว

    Is there a sample code that illustrates the usage of all these APIs?

  • @hardkornate
    @hardkornate 6 ปีที่แล้ว

    This is really pretty amazing.

  • @collllinD
    @collllinD 6 ปีที่แล้ว

    Awesome motion layout editor! Is there any plan to have an editor to create all the animation in Android?

  • @guuilp
    @guuilp 6 ปีที่แล้ว +20

    Awesome tools! What about performance improvement on Android Studio? Its performance on macOS or Windows is garbage, I have to restart the AS at least 4 times a day.

    • @chenyangji6787
      @chenyangji6787 6 ปีที่แล้ว +7

      me too! I think there is a memory leak issue

    • @anegine
      @anegine 6 ปีที่แล้ว +2

      Try to increase default values of memory sizes for JVM in which Android Studio runs:
      android-studio/bin/studio64.exe.vmoptions
      -Xms1024m
      -Xmx4096m
      -XX:ReservedCodeCacheSize=1024m
      It helps for me to prevent restarting Android Studio several times a day

    • @guuilp
      @guuilp 6 ปีที่แล้ว +1

      Eugene, thanks for the tip. I tried it here, but it didn't work. I've been working in AS for 2 hours today (using your tip) and it's already consuming 8.2GB of RAM, and growing...

    • @marlonlom
      @marlonlom 6 ปีที่แล้ว +1

      dafuq!!! just Windows OS takes 2-4 gb of memory for working :S

    • @guuilp
      @guuilp 6 ปีที่แล้ว

      Game4rt Did that already. Didn't work

  • @dennisgonzales9521
    @dennisgonzales9521 5 ปีที่แล้ว

    Useful!

  • @BoxingHacker
    @BoxingHacker 6 ปีที่แล้ว

    I wonder if this will work with transitions. Like viewpager transitions and fragment and activity transitions.

  • @gun0912
    @gun0912 6 ปีที่แล้ว

    What can I do like 33:13 animation?
    Please tell me keyword

  • @Mickn340
    @Mickn340 6 ปีที่แล้ว

    The few days are long over :P When can we try it

  • @codinginflow
    @codinginflow 6 ปีที่แล้ว +3

    Pretty nifty

  • @aksh1618
    @aksh1618 6 ปีที่แล้ว

    Waiting for the day when the layout editor is released as a separate app, about time now.

  • @zappzapp2074
    @zappzapp2074 6 ปีที่แล้ว

    How can I set a "tools:image" or "tools:backgroud" to a normal Layout or view (not recyclerView)?
    In our app, these are also dynamic and setted by databinding.

  • @yayayu2bee131
    @yayayu2bee131 6 ปีที่แล้ว

    oh John Hoford is here since io 16

  • @kamalabuhenamostafa
    @kamalabuhenamostafa 6 ปีที่แล้ว

    We left many items that doesn't mean we don't know that. We left because we try to shortcut layout. We will add some items in the middle but that will not cause any harm to the base layout.
    We also left lot of things unexplained, it is because people may asked us for an explanation. We have explanations. We are not depending on anyone for anything for sure.
    Submit your own solution, so that other may judge us when we complete.
    AND,
    If you want to resists us, welcome. For sure we will handle you even if it worse for you.
    And, We assure you, "HUMANITY FIRST" is my philosophy.

  • @carloszetula2307
    @carloszetula2307 6 ปีที่แล้ว

    Wow, fantastic!

  • @YaroslavShlapak
    @YaroslavShlapak 6 ปีที่แล้ว

    It is so frustrating not being able to use all this preview tools just because constant issues with Android Studio not being able to display layout preview.

  • @faisal8maverick
    @faisal8maverick 6 ปีที่แล้ว +1

    Where can I find all of this source code? 😁

  • @fikascrew
    @fikascrew 6 ปีที่แล้ว

    great tools!!

  • @Tomasu82
    @Tomasu82 6 ปีที่แล้ว

    Problem i have with the layout editor ive had a chance to use is it will often just set fixed dp sizes that i then have to fix manually.. maybe thats the old one i dunno. But its annoying.

    • @MrYingding
      @MrYingding 6 ปีที่แล้ว

      the fixed dp sizes is really annoying.

  • @YaLi-jb4vw
    @YaLi-jb4vw 6 ปีที่แล้ว

    Where is Helper/Layer/Decorate Example ?

  •  6 ปีที่แล้ว +3

    Constraint layout was causing me too laggy scrolling when I was using it as a layout of item of recycler view some time ago, how about now, is it fixed?

    •  6 ปีที่แล้ว

      Andrew Grosner Awesome, I should try it out again then :)

  • @pardeepsharma6502
    @pardeepsharma6502 6 ปีที่แล้ว

    Now Android Studio begins on the path of Visual Studio with these features like Handling motions, Adding Keyframes & Path editing :)

  • @garywzh
    @garywzh 6 ปีที่แล้ว

    very powerful

  • @baieEtMotte
    @baieEtMotte 6 ปีที่แล้ว +1

    Wow, after 27 version of API, they finally realize that a layout with relative dimension can be useful with multiple sceen size. That Android SDK is a joke.

  • @somayajisubs
    @somayajisubs 6 ปีที่แล้ว +2

    Common CL team👌CL team never share the tech talks code like you always do! I tired of of searching all the 2017 CL talks codes hopefully it doesn't continues to 2018!😢 #talkswithoutcodeshare

    • @ibhavikmakwana
      @ibhavikmakwana 6 ปีที่แล้ว +3

      github.com/ibhavikmakwana/Constraint-Layout-Animations
      Check out my GitHub repo on ConstraintLayout Animations.

  • @ahmedka2124
    @ahmedka2124 6 ปีที่แล้ว

    could you help me

  • @RS-kt6is
    @RS-kt6is 6 ปีที่แล้ว +3

    Does it finally work? No, I won't try myself.....pretty disgusted with this, 2 years and still not stable...

  • @EwenMackenzie
    @EwenMackenzie 6 ปีที่แล้ว +3

    "it's awesome because it works with your custom views" never heard such a big lie

  • @pktechnotricks4853
    @pktechnotricks4853 6 ปีที่แล้ว

    Thanks for making android more faster..& Less versatile....With no user experience.... ANDROID Oreo cheater....you don't need to optimize things...like the world is doing....You need expand....To get the full effecieny of hardware...No more android fan

  • @cularu1
    @cularu1 6 ปีที่แล้ว

    why do american people clap and whooooo?? ROTFL

  • @BenG610
    @BenG610 6 ปีที่แล้ว

    这个主讲人中哪里人,口音好奇怪

  • @iftanoormahmood6171
    @iftanoormahmood6171 6 ปีที่แล้ว

    talk is cheap. show me the code.

  • @iwant2burfrend
    @iwant2burfrend 6 ปีที่แล้ว

    MS Powerpoint 2003 called, wants its animations back. Why are these guys so lazy, every animation demo in this google IO is an eye and brain soar. Loved the new features though.