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

  Рет қаралды 62,662

Android Developers

Android Developers

Күн бұрын

This session will cover the new features in ConstraintLayout 2.0, as well as the latest functionality added in Android Studio design tools, highlighting how to effectively take advantage of them for designing, prototyping, and building a graphical user interface application.
Rate this session by signing-in on the I/O website here → goo.gl/a7Krho
Watch more Android sessions from I/O '18 here → goo.gl/R9L42F
See all the sessions from Google I/O '18 here → goo.gl/q1Tr8x
Subscribe to the Android Developers channel → goo.gl/GEh1ds
#io18 event: Google I/O 2018; re_ty: Publish; product: Android - Android Studio, Android - Jetpack; fullname: Nicolas Roard, John Hoford, Vadim Caen, Diego Perez; event: Google I/O 2018;

Пікірлер: 67
@codinginflow
@codinginflow 6 жыл бұрын
I will cover everything in my ConstraintLayout tutorial as soon as the stable releases are out
@user-ex8vj4qe7n
@user-ex8vj4qe7n 4 жыл бұрын
Please make some tutorial of Motion Editor! PLEASE!
@Eric-zd3ym
@Eric-zd3ym 6 жыл бұрын
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?
@mikekamau
@mikekamau 6 жыл бұрын
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
@tudorpop3579
@tudorpop3579 6 жыл бұрын
finally some great support....writing this by hand was such a pain!
@HaraldHalbig
@HaraldHalbig 6 жыл бұрын
So much awesome stuff. Can't wait to try it out!
@Rick-ko1bz
@Rick-ko1bz 6 жыл бұрын
Awesome work, thanks for your hard work and looking forward to try it!
@milanjovic8325
@milanjovic8325 6 жыл бұрын
Great work guys!!
@carloszetula2307
@carloszetula2307 6 жыл бұрын
Wow, fantastic!
@RicardoTrevizo
@RicardoTrevizo 6 жыл бұрын
Motion Design Tool looks awesome!
@remmievail8148
@remmievail8148 6 жыл бұрын
Motion editor looks great! Looking for a release date!
@hardkornate
@hardkornate 6 жыл бұрын
This is really pretty amazing.
@witoldsienski1709
@witoldsienski1709 6 жыл бұрын
ConstraintLayout is the best feature for building UI and animations :)
@MtaufiqH731
@MtaufiqH731 6 жыл бұрын
great tools!!
@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.
@KeySabre
@KeySabre 6 жыл бұрын
It reminds me Flash... finally we can edit some cool animations easily! Bravo!
@codinginflow
@codinginflow 6 жыл бұрын
Pretty nifty
@rob2theworld
@rob2theworld 6 жыл бұрын
I wonder if this will work with transitions. Like viewpager transitions and fragment and activity transitions.
@dennisgonzales9521
@dennisgonzales9521 4 жыл бұрын
Useful!
@Baannia
@Baannia 6 жыл бұрын
It's really hard to understand the speaker's talk about. But this is AWESOME!!!)))
@garywzh
@garywzh 6 жыл бұрын
very powerful
@collllinD
@collllinD 6 жыл бұрын
Awesome motion layout editor! Is there any plan to have an editor to create all the animation in Android?
@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
@igorg.8624
@igorg.8624 5 жыл бұрын
Is there a sample code that illustrates the usage of all these APIs?
@faisal8maverick
@faisal8maverick 6 жыл бұрын
Where can I find all of this source code? 😁
@aksh1618
@aksh1618 6 жыл бұрын
Waiting for the day when the layout editor is released as a separate app, about time now.
@gun0912
@gun0912 5 жыл бұрын
What can I do like 33:13 animation? Please tell me keyword
@YaroslavShlapak
@YaroslavShlapak 5 жыл бұрын
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.
@guuilp
@guuilp 6 жыл бұрын
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 жыл бұрын
me too! I think there is a memory leak issue
@anegine
@anegine 6 жыл бұрын
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 жыл бұрын
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 жыл бұрын
dafuq!!! just Windows OS takes 2-4 gb of memory for working :S
@guuilp
@guuilp 6 жыл бұрын
Game4rt Did that already. Didn't work
@yayayu2bee131
@yayayu2bee131 6 жыл бұрын
oh John Hoford is here since io 16
6 жыл бұрын
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 :)
@Tomasu82
@Tomasu82 5 жыл бұрын
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 5 жыл бұрын
the fixed dp sizes is really annoying.
@Mickn340
@Mickn340 6 жыл бұрын
The few days are long over :P When can we try it
@YaLi-jb4vw
@YaLi-jb4vw 5 жыл бұрын
Where is Helper/Layer/Decorate Example ?
@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.
@pardeepsharma6502
@pardeepsharma6502 6 жыл бұрын
Now Android Studio begins on the path of Visual Studio with these features like Handling motions, Adding Keyframes & Path editing :)
@ahmedka2124
@ahmedka2124 6 жыл бұрын
could you help me
@somayajisubs
@somayajisubs 6 жыл бұрын
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 жыл бұрын
github.com/ibhavikmakwana/Constraint-Layout-Animations Check out my GitHub repo on ConstraintLayout Animations.
@baieEtMotte
@baieEtMotte 6 жыл бұрын
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.
@RS-kt6is
@RS-kt6is 6 жыл бұрын
Does it finally work? No, I won't try myself.....pretty disgusted with this, 2 years and still not stable...
@EwenMackenzie
@EwenMackenzie 6 жыл бұрын
"it's awesome because it works with your custom views" never heard such a big lie
@BenG610
@BenG610 6 жыл бұрын
这个主讲人中哪里人,口音好奇怪
@iftanoormahmood6171
@iftanoormahmood6171 5 жыл бұрын
talk is cheap. show me the code.
@cularu1
@cularu1 5 жыл бұрын
why do american people clap and whooooo?? ROTFL
@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
@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.
Android Jetpack: How to smartly use fragments in your UI (Google I/O '18)
45:39
Effective ProGuard keep rules for smaller applications (Google I/O '18)
36:32
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 14 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 68 МЛН
Learn Web Design For Beginners - Full Course (2024)
3:07:31
Flux Academy
Рет қаралды 1,7 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 248 М.
Understanding Android memory usage (Google I/O '18)
39:05
Android Developers
Рет қаралды 66 М.
Building the Ultimate Workout Tracker with React Native & MongoDB
3:59:34
ChatGPT for Data Analytics: Full Course
3:35:30
Luke Barousse
Рет қаралды 237 М.
Building a Health Application with React Native: Step Counter
3:57:53
notJust․dev
Рет қаралды 339 М.
Android Jetpack: What’s new in Android Support Library (Google I/O 2018)
33:52
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН