Shoutem 在 App 上更改主背景

Shoutem Changing main background on App

我想上传一张图片并将其设置为我的自定义 shoutem 应用程序的背景。我看过一些教程,其中在构建器中这是可能的,但它似乎适用于旧版本。我是否需要创建自定义主题来完成此操作?如果是这样,我需要在 theme.js 文件的什么地方设置背景?

因此,正确的做法是 modify Shoutem navigation extension. Let's say that you're using TabBar navigation: in that case, you should customize TabBar 筛选并在 Screen 组件之上呈现一个 Image 组件。此外,您需要在 Style -> Customize theme -> Background color 下的 Basic color.

中将透明色作为背景色的值