在capsule-info.bxb文件中,有两个名为actionFgColor和actionBgColor的键,我不知道它们是做什么的。如果有交互的元素或动作,这是应用程序内部使用的吗?还是与比克斯比市场上胶囊的外观有关?
示例代码
description {
displayName (Example)
companyName (Example, Inc.)
iconUrl (/images/icons/example.png)
description (Example allows you to see examples of things.)
websiteUrl (https://www.example.com)
termsUrl (https://www.example.com/TOS.html)
privacy-policy-url (https://www.example.com/privacy.html)
search-keywords{
keywords (Example)
}
dispatch-name (Example)
dispatch-aliases {
alias (Example Site)
}
actionBgColor (#BF2519) // what does this do?
actionFgColor (#FFFFFF) // what about this?
}发布于 2019-04-26 21:06:37

下面是在确认按钮上呈现的(actionFgColor)和背景(actionBgColor)颜色的屏幕截图。你可以用它给你的胶囊添加你的品牌色彩。
以下是文档中有关这些密钥的其他信息:
https://bixbydevelopers.com/dev/docs/reference/type/description.actionBgColor
https://stackoverflow.com/questions/55874686
复制相似问题