Skip to content

Commit

Permalink
Merge pull request #158 from yuyakaido/issue/41
Browse files Browse the repository at this point in the history
Pass activity context instead of application context to apply activity theme
  • Loading branch information
yuyakaido authored Dec 9, 2018
2 parents 514ef1a + d8ccd5c commit d70f486
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void onClick(View v) {
}

private void initialize() {
manager = new CardStackLayoutManager(getApplicationContext(), this);
manager = new CardStackLayoutManager(this, this);
manager.setStackFrom(StackFrom.None);
manager.setVisibleCount(3);
manager.setTranslationInterval(8.0f);
Expand Down

0 comments on commit d70f486

Please sign in to comment.