Skip to content

Commit

Permalink
Workaround to avoid the problem that shared element start with "fitCe…
Browse files Browse the repository at this point in the history
…nter" while originally it is "centerCrop"
  • Loading branch information
Jack Fan committed Oct 1, 2015
1 parent 2d473a5 commit f063817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout/gridview_element.xml
Expand Up @@ -15,6 +15,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:scaleType="centerCrop"
fresco:actualImageScaleType="centerCrop"/>

</android.support.v7.widget.CardView>

0 comments on commit f063817

Please sign in to comment.