Skip to content

How to use a custom slide #1018

Answered by cortinico
Maldino asked this question in Q&A
Aug 7, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Please find an example here:

class CustomLayoutIntro : AppIntro() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
addSlide(newInstance(R.layout.intro_custom_layout1))
addSlide(newInstance(R.layout.intro_custom_layout2))
addSlide(newInstance(R.layout.intro_custom_layout3))
addSlide(newInstance(R.layout.intro_custom_layout4))
showStatusBar(true)
setStatusBarColorRes(R.color.orange)
setNavBarColorRes(R.color.orange)
setProgressIndicator()
}

addSlide(AppIn…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Maldino
Comment options

Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants