Pergunta

I am trying to add a hint circle into my app, I implemented Showcase View library but it does not operate like the actual hint circle used in the Youtube App. The Youtube App blurs the background activity so the content is not visible while the Showcase View does not, which in turns creates a very messy overlay. Below are links to each screenshot.

Youtube
Showcase View

Foi útil?

Solução

I don't believe that Youtube blurs the background (something which is notoriously difficult to do in Android), rather it uses a very dark background color with a high opacity. This is possible in ShowcaseView using the sv_backgroundColor theme attribute. The example app shows how this can be done.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top