gpt4 book ai didi

java - 添加 ShowcaseView 作为库项目

转载 作者:行者123 更新时间:2023-12-01 12:19:12 27 4
gpt4 key购买 nike

如何将 ShowcaseView 项目作为库添加到我的项目中?

我正在使用 Eclipse [ADT]。我已经将库属性中的复选框“is libryry”设置为选中并将其添加到我的库中,但示例代码

    new ShowcaseView.Builder(this)
.setTarget(new ActionViewTarget(this, ActionViewTarget.Type.HOME))
.setContentTitle("ShowcaseView")
.setContentText("This is highlighting the Home button")
.hideOnTouchOutside()
.build();

说“创建类'ShowcaseView'”。

最佳答案

  1. 转到 Eclipse 中的 ShowcaseView 项目属性
  2. Java 构建路径
  3. 来源选项卡
  4. 添加文件夹
  5. 选择java文件夹

关于java - 添加 ShowcaseView 作为库项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26811458/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com