diff --git a/app/src/main/java/de/sebse/fuplanner/tools/ui/cardview/ExpandableCardView.java b/app/src/main/java/de/sebse/fuplanner/tools/ui/cardview/ExpandableCardView.java index 6f4e5aa..41293af 100644 --- a/app/src/main/java/de/sebse/fuplanner/tools/ui/cardview/ExpandableCardView.java +++ b/app/src/main/java/de/sebse/fuplanner/tools/ui/cardview/ExpandableCardView.java @@ -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; diff --git a/app/src/main/res/layout/list_canteen_items.xml b/app/src/main/res/layout/list_canteen_items.xml index 3626be6..6a98a03 100644 --- a/app/src/main/res/layout/list_canteen_items.xml +++ b/app/src/main/res/layout/list_canteen_items.xml @@ -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" />