Skip to content

Commit e635ec9

Browse files
committed
Update README with AppIntroFragment colorRes parameters. Closes AppIntro#1003.
1 parent 3c93cbb commit e635ec9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ addSlide(AppIntroFragment.createInstance(
155155
description = "A description that will be shown on the bottom",
156156
imageDrawable = R.drawable.the_central_icon,
157157
backgroundDrawable = R.drawable.the_background_image,
158-
titleColor = ContextCompat(context, R.color.yellow),
159-
descriptionColor = ContextCompat(context, R.color.red),
160-
backgroundColor = ContextCompat(context, R.color.blue),
158+
titleColorRes = R.color.yellow,
159+
descriptionColorRes = R.color.red,
160+
backgroundColorRes = R.color.blue,
161161
titleTypefaceFontRes = R.font.opensans_regular,
162162
descriptionTypefaceFontRes = R.font.opensans_regular,
163163
))

0 commit comments

Comments
 (0)