我需要在展示视图'GOT IT'中添加按钮。如何在这里显示按钮'GOT IT'?
visit(MontiArcAST node)
答案 0 :(得分:0)
试试这个:
private ShowcaseView showcaseView = new ShowcaseView.Builder(getActivity())
.setTarget(new ViewTarget(diagnostics))
.setOnClickListener(counterClick)
.setStyle(R.style.CustomShowcaseTheme)
.build();
showcaseView.setButtonText(getString(R.string.next));
showcaseView.forceTextPosition(ShowcaseView.BELOW_SHOWCASE);
showcaseView.setContentTitle("Search and book Diagnostics");