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
How to Motion Editor - Report from Android Dev ...
Search
mochico
November 15, 2019
Technology
1.6k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to Motion Editor - Report from Android Dev Summit 2019
mochico
November 15, 2019
More Decks by mochico
See All by mochico
Jetpack Glanceではじめる Material 3のColor
mochico
1
2.8k
Invitation for modern Android UI development - Basic of Jetpack Compose
mochico
1
410
Title : Let's Preview! Jetpack Compose
mochico
2
1.7k
Build app fast on Android Studio 4.+
mochico
0
2.2k
Google I/O 2019 WAIWAI Reporting Session Overview
mochico
0
83
Report of Firebase Summit 2018
mochico
1
2.6k
Kotlin Fest 2018 わいわい報告会 / mochicoroutines
mochico
0
310
start from Convert to Kotlin
mochico
2
9.8k
introduce Material Theming ~practice~
mochico
1
1.5k
Other Decks in Technology
See All in Technology
現地で盛り上がった WWDC26 Keynote
zozotech
PRO
1
270
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
1
400
Kiroで書いた 設計書 が AI レビューの 採点基準 になる
ezaki
0
130
【Cyber-sec+】経営層を"動かす"ための考え方
hssh2_bin
0
200
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
250
アジャイルな経理と Claude Code と経営の未来
kawaguti
PRO
3
160
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
150
インシデントレスポンス演習 I / Incident Response Exercise I
ks91
PRO
0
100
Lightning近況報告
kozy4324
0
200
AIチャット検索改善の3週間
kworkdev
PRO
2
140
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
420
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
3
590
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
390
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
850
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
330
Designing for Timeless Needs
cassininazir
1
260
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
390
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Transcript
How to Motion Editor Report from Android Dev Summit 2019
@mochico
About me mochico(@_mochicon_) Android / Java / Kotlin Techbooster /
技術書典
Memory of Android Dev Summit 2019
What's New in Android Studio Design Tools https://youtu.be/vqDwSK5t7Hk?t=1172
What is Motion Editor
What is the MotionLayout Subclass of ConstraintLayout Define motions by
XML Included in ConstraintLayout2.0
How to use Motion Editor
Prepare to use Motion Editor Android Studio 4.0+ implementation ‘androidx.constraintlayout:constraintlayout:2.0.0-beta3'
classpath 'com.android.tools.build:gradle:4.0.0-alpha03'
None
layout.xml <androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" app:layoutDescription="@xml/fragment_first_scene" tools:context=".FirstFragment">
fragment_first_scene.xml <MotionScene xmlns:android="http://schemas.android.com/apk/res/android" xmlns:motion="http://schemas.android.com/apk/res-auto"> <Transition motion:constraintSetEnd="@+id/end" motion:constraintSetStart="@id/start" motion:duration="1000"> <KeyFrameSet> </KeyFrameSet>
</Transition> <ConstraintSet android:id="@+id/start"> </ConstraintSet> <ConstraintSet android:id="@+id/end"> </ConstraintSet> </MotionScene>
Motion Scene
None
start to end
None
Action Icons Create ConstraintSet Create Transition Create Handler
Create from Action Icons
Create Handler <Transition motion:constraintSetEnd="@+id/end" motion:constraintSetStart="@id/start" motion:duration="1000"> <OnClick motion:targetId="@+id/imageButton" /> </Transition>
None
KeyFrames KeyPosition KeyAttribute KeyTrigger KeyCycle KeyTimeCycle
KeyCycle <Transition motion:constraintSetEnd="@+id/end" motion:constraintSetStart="@id/start" motion:duration="1000"> <KeyFrameSet> <KeyCycle motion:motionTarget="@+id/imageButton" motion:framePosition="0" motion:wavePeriod="1"
android:scaleX="0.3" motion:waveOffset="1" />
Selection Panel
None
Attributes Select Transition Select KeyFrame
demo (if I can)
Wrap up Motion Editor Cool visualization for KeyFrames Not for
CoordinatorLayout, DrawerLayout etc Easy to add properties for animation as XML AS4.0 still canary, Motion Editor still beta
References What's New in Android Studio Design Tools (Android Dev
Summit '19) - YouTube : https:// www.youtube.com/watch?v=vqDwSK5t7Hk Defining motion paths in MotionLayout - Google Developers - Medium : https://medium.com/ google-developers/defining-motion-paths-in-motionlayout-6095b874d37 Manage motion and widget animation with MotionLayout : https://developer.android.com/ training/constraint-layout/motionlayout googlearchive/android-ConstraintLayoutExamples: Migrated: : https://github.com/googlearchive/ android-ConstraintLayoutExamples Animation with MotionLayout : https://codelabs.developers.google.com/codelabs/motion- layout/#0 DroidKaigi 2019 - Deep dive into MotionLayout / thagikura, John Hoford, Nicolas Roard - YouTube : https://www.youtube.com/watch?v=r8cYDlBOPaA Thank you!