Skip to content

Commit

Permalink
use the system default theme by default
Browse files Browse the repository at this point in the history
  • Loading branch information
klinker24 committed May 10, 2019
1 parent 4d74a2d commit 2572ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum DragElasticity {
NORMAL, LARGE, XLARGE, XXLARGE
}

private Theme theme = Theme.LIGHT;
private Theme theme = Theme.SYSTEM_DEFAULT;
private DragElasticity dragElasticity = DragElasticity.NORMAL;
private int primaryColor = -1;
private String toolbarTitle = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void onClick(View v) {
Intent scrollable = new Intent(SampleActivity.this, DismissableActivityNormalContent.class);

new DragDismissIntentBuilder(SampleActivity.this)
.setTheme(DragDismissIntentBuilder.Theme.LIGHT)
.setTheme(DragDismissIntentBuilder.Theme.SYSTEM_DEFAULT)
.setPrimaryColorResource(R.color.colorPrimary)
.setToolbarTitle("Normal Activity Sample")
.build(scrollable);
Expand Down

0 comments on commit 2572ed0

Please sign in to comment.