Last active
June 24, 2018 00:57
-
-
Save camaelon/c1617e6129c5efbaac6adab768a34589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<com.google.androidstudio.motionlayoutexample.utils.CollapsibleToolbar | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/motionLayout" | |
app:layoutDescription="@xml/scene_09" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:minHeight="50dp" | |
android:fitsSystemWindows="false" | |
app:layout_scrollFlags="scroll|enterAlways|snap|exitUntilCollapsed"> | |
<ImageView | |
android:id="@+id/background" | |
android:layout_width="match_parent" | |
android:layout_height="200dp" | |
android:background="@color/colorAccent" | |
android:scaleType="centerCrop" | |
android:src="@drawable/monterey"/> | |
<TextView | |
android:id="@+id/label" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:transformPivotX="0dp" | |
android:transformPivotY="0dp" | |
android:text="Monterey" | |
android:textColor="#FFF" | |
android:textSize="32dp" /> | |
</com.google.androidstudio.motionlayoutexample.utils.CollapsibleToolbar> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment