diff options
author | ByteHamster <info@bytehamster.com> | 2017-10-21 20:52:29 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2017-10-21 21:00:53 +0200 |
commit | 30c7ca5437cf65dc74ebfdd60a44d89da2bfaf79 (patch) | |
tree | 4d0e14ca0b637954122569fbf1daa3050f3d8685 /app/src/main/res | |
parent | 93c59875b2c7f18a1b889e23e72f4657c25149f7 (diff) | |
download | AntennaPod-30c7ca5437cf65dc74ebfdd60a44d89da2bfaf79.zip |
Shared element transition of cover
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/cover_fragment.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/external_player_fragment.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/layout/cover_fragment.xml b/app/src/main/res/layout/cover_fragment.xml index 9ad1ff9c6..05b927da4 100644 --- a/app/src/main/res/layout/cover_fragment.xml +++ b/app/src/main/res/layout/cover_fragment.xml @@ -16,6 +16,7 @@ android:scaleType="fitCenter" app:layout_aspectRatio="100%" app:layout_widthPercent="82%" + android:transitionName="coverTransition" tools:src="@android:drawable/sym_def_app_icon" /> <LinearLayout diff --git a/app/src/main/res/layout/external_player_fragment.xml b/app/src/main/res/layout/external_player_fragment.xml index fb7abde55..c0eb9211f 100644 --- a/app/src/main/res/layout/external_player_fragment.xml +++ b/app/src/main/res/layout/external_player_fragment.xml @@ -22,6 +22,7 @@ android:scaleType="centerCrop" tools:src="@drawable/ic_drag_vertical_white_48dp" tools:background="@android:color/holo_green_dark" + android:transitionName="coverTransition" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"/> |