I am using https://github.com/amlcurran/ShowcaseView library for Showcaseview
how to make rectangle view instead of circle ?
and how to using it for one of the listview item?
thanks
1
Take a look at this: MaterialShowCaseView that is a improved version of original ShowCaseView library.
It has more featurs like sequence
and .withRectangleShape()
in it.
An example of rectangle showcase is:
// single example
new MaterialShowcaseView.Builder(this)
.setTarget(mButtonShow)
.setDismissText("GOT IT")
.withRectangleShape() // this makes it rectangle
.setContentText("This is some amazing feature you should know about")
.setDelay(withDelay) // optional but starting animations immediately in onCreate can make them choppy
.singleUse(SHOWCASE_ID) // provide a unique ID used to ensure it is only shown once
.show();
for use it for one of items, use a if
in onBindViewHolder
with specific position
and show it simply.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With