Android 术语以及如何设置面板背景图片

发布于 2024-12-07 17:56:03 字数 450 浏览 1 评论 0原文

我是安卓新手。太新了,我什至不清楚术语。从用户的角度来看,用户可以在 Android 上从一个页面(iOS 术语)滑动到另一个页面。有人告诉我这些被称为“面板” - 但谷歌搜索这个术语,我发现了通知面板 - 这似乎是 iOS 所说的状态栏。或者,也许这些被称为“主屏幕”,

我想知道是否有一种方法可以在用户从一个页面/面板(?)滑动到另一页面/面板时更改背景图像。例如,我可能希望我的游戏应用程序具有绿色背景,而我的社交媒体应用程序具有蓝色背景。如果可以通过设置面板的背景图像来实现这一点,那就太好了。如果有壁纸的破解,那也没关系。

任何指向命名视觉实体的 Android UI 指南文档的指针都会很棒。同样,任何指向 Android UI 术语表的指针也很棒。

提前致谢。

更新: 我刚刚遇到“动态壁纸”,想知道这是否是正确的方法 - 使用 onOffsetsChanged() 。

I am new to Android. So new that I am not even clear on the terminology. From the user perspective, one can swipe from one page (iOS term) to another on Android. I have been told that these are called "panels" - but googling that term, I find out about the notification panel - which seems to be what iOS would call the status bar. Or, perhaps, these are called "home screens"

I would like to find out if there is a way to change the background image as the user swipe from one page/panel(?) to another. For example, I might want my game apps to have a green background and my social media apps to have a blue background. If this can be done by setting a panel's background image, that would be good. If there's a hack with wallpapers, that would be okay, too.

Any pointers to Android UI guideline doc that names visual entities would be great. Likewise, any pointers to a glossary of Android UI terms would also be wonderful.

Thanks in advance.

UPDATE:
I have just come across "live wallpaper" and am wondering if this - with onOffsetsChanged() - is the way to go.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愁以何悠 2024-12-14 17:56:03

关于小部件问题,该术语有两个含义:由 API 提供的 UI 组件,例如 TextView、Button 和 WebView,另一个含义是启动器上的图标,其作用不仅仅是启动应用程序。后者也称为 App Widget ,其示例如下:是音乐播放器控件或天气预报。这两种小部件都记录在 Android 开发人员 网站上。

壁纸通常是动态或静态的。 动态壁纸与屏保的理念相似,但功能不同因为屏幕保护程序是针对不活动的。它们也可以是互动的。静态壁纸通常是根据情况裁剪或专门为尺寸制作的位图。此外,可以替换启动器(这是“桌面应用程序”的名称,启动器主页是“桌面”)以提供壁纸的附加功能。对于您关于拥有图片库风格壁纸的具体问题,香草启动器不支持此功能。

In regards to the widget questions the term has two meanings: the UI components provided by the API such as TextView, Button, and WebView and the other meaning is an icon on the launcher that does more than start an app. The latter is also referred to as App Widget and an example of this would be music player controls or weather report. Both kinds of widgets are documented at the Android Developer website.

Wallpapers are typically Live or static. Live Wallpapers are similar in idea to screensavers but do not have the same function as screensavers are for inactivity. They can also be interactive. Static wallpapers are generally bitmaps that are cropped for the situation or specially made for the dimensions. In addition a Launcher (which is the name of the "desktop application" and the Launcher Home being the "Desktop") can be replaced to provide additional features for wallpapers. For your specific question about having an image gallery style wallpaper, the vanilla Launcher does not support this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文