Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How to Motion Editor - Report from Android Dev ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
mochico
November 15, 2019
Technology
1.7k
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.9k
Invitation for modern Android UI development - Basic of Jetpack Compose
mochico
1
440
Title : Let's Preview! Jetpack Compose
mochico
2
1.7k
Build app fast on Android Studio 4.+
mochico
0
2.3k
Google I/O 2019 WAIWAI Reporting Session Overview
mochico
0
91
Report of Firebase Summit 2018
mochico
1
2.6k
Kotlin Fest 2018 わいわい報告会 / mochicoroutines
mochico
0
320
start from Convert to Kotlin
mochico
2
9.9k
introduce Material Theming ~practice~
mochico
1
1.5k
Other Decks in Technology
See All in Technology
FOSS4Gを活用した自治体業務DXの試み
470715
0
140
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
780
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
240
分析AIエージェントを育てる、動く環境を育てる
codatum
1
720
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
6
5.6k
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
0
230
Essential architectural thinking (revised edition)
ufried
0
110
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.2k
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.5k
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
1
710
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
370
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
340
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
GraphQLとの向き合い方2022年版
quramy
50
15k
Automating Front-end Workflow
addyosmani
1369
210k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
450
For a Future-Friendly Web
brad_frost
184
10k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
30 Presentation Tips
portentint
PRO
1
420
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Raft: Consensus for Rubyists
vanstee
142
7.7k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
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!