我想显示一个用于解释应用程序的UI。它存在于许多应用程序中。当用户首次启动应用时,将显示它。不幸的是,我没有图像可以解释,所以我希望有人能理解我在说什么。
谢谢。
我建议在发布问题之前先进行搜索。
无论如何,这里有几个库,它们肯定会帮助您实现目标。
- ShowCaseView,但它有点过时了。
- AppIntro 大多数最新应用程序都显示类似以下内容作为用户的应用程序介绍。它也是材料。
- MaterialIntro是另一个很好的库,可以为用户提供介绍
使用 ShowcaseView Library,添加者:
compile 'com.github.amlcurran.showcaseview:library:5.4.0'
要使用它:
new ShowcaseView.Builder(this) .setTarget(new ActionViewTarget(this, ActionViewTarget.Type.HOME)) .setContentTitle("ShowcaseView") .setContentText("This is highlighting the Home button") .hideOnTouchOutside() .build();
我想你要求使用展示视图
https://github.com/Espiandev/ShowcaseView