Skip to content

Instantly share code, notes, and snippets.

View arunkumar9t2's full-sized avatar

Arunkumar arunkumar9t2

View GitHub Profile
snackbarConstraintLayout.prepareTransition {
moveResize { // Move resize uses ChangeBounds
+fab
}
slide {
+snackbarMessage
}
decelerateEasing()
}
snackbarMessage.toggleGone()
constraintLayout.prepareTransition {
auto {
standardEasing()
exclude(metamorphosisDesc2)
}
transitionSet {
fade()
slide()
accelerateEasing()
+metamorphosisDesc2
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
android:transitionOrdering="sequential">
<changeBounds>
<targets>
<target android:targetId="@+id/image" />
</targets>
</changeBounds>
<fade>
<targets>
<target android:targetId="@+id/text" />
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;