use of com.github.amlcurran.showcaseview.targets.Target in project ShowcaseView by amlcurran.
the class SingleShotActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_single_shot);
Target viewTarget = new ViewTarget(R.id.button, this);
new ShowcaseView.Builder(this).setTarget(viewTarget).setContentTitle(R.string.title_single_shot).setContentText(R.string.R_string_desc_single_shot).singleShot(42).build();
}
Aggregations