2016-06-13 44 views
-2

我已經在很多應用程序中看到了這一點,當您第一次打開應用程序時,顯示一個半透明屏幕並標記一個工具並顯示一些關於它的描述。android-如何使屏幕幫手

這樣的:

enter image description here

,你可以看到,它菜單上標誌着一個圖標,並顯示一些關於它的文字並沒有在頁面的最後一個按鈕。

我該如何做這樣的事情?

+0

像這樣嘗試一下呢? https://github.com/deano2390/MaterialShowcaseView –

+0

另外,還有一長串相似的例子。 https://android-arsenal.com/tag/198 –

+0

很高興幫助您快樂編碼 –

回答

0

試試這個辦法讓Showcase

View showcasedView = findViewById(R.id.view_to_showcase); 
ViewTarget target = new ViewTarget(showcasedView); 
ShowcaseView.insertShowcaseView(target, this, R.string.showcase_title, R.string.showcase_details); 

或者你可以用TourGuide