diff --git a/library-cards/src/main/java/it/gmariotti/cardslib/library/cards/base/BaseMaterialCard.java b/library-cards/src/main/java/it/gmariotti/cardslib/library/cards/base/BaseMaterialCard.java index 767fb92e..b843d5de 100644 --- a/library-cards/src/main/java/it/gmariotti/cardslib/library/cards/base/BaseMaterialCard.java +++ b/library-cards/src/main/java/it/gmariotti/cardslib/library/cards/base/BaseMaterialCard.java @@ -79,6 +79,9 @@ protected View buildSupplementalActions() { stub.setLayoutResource(getLayout_supplemental_actions_id()); return stub.inflate(); } + else { + return ((View) getCardView()).findViewById(R.id.card_supplemental_actions); + } } return null; }