문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top