Fixed expand card view duration

This commit is contained in:
Sebastian Seedorf
2019-10-21 12:53:12 +02:00
parent 6ddeca6c48
commit c18f4093e4
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ public class ExpandableCardView extends CardView {
private View outerView;
private ImageButton imageButton;
private static final int DEFAULT_ANIM_DURATION = 2000;
private static final int DEFAULT_ANIM_DURATION = 300;
private long animDuration = DEFAULT_ANIM_DURATION;
private final static int COLLAPSING = 0;

View File

@@ -6,7 +6,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/cardview_margin"
card_view:cardElevation="@dimen/card_elevation"
app:animationDuration="2000"
app:animationDuration="300"
app:inner_view="@layout/list_canteen_body"
app:outer_view="@layout/list_canteen_header"
app:startExpanded="false" />