Kodi ——6 Controls (5) MultiImage Control
来源:互联网 发布:上海手机数据恢复公司 编辑:程序博客网 时间:2024/05/13 07:11
6.5 MultiImage Control
多Image控件用于从XBMC中的文件夹显示图像的幻灯片。您可以选择幻灯片的位置和大小,以及时间信息。
6.5.1 Example
<control type="multiimage" id="1"> <description>My first slideshow control</description> <left>80</left> <top>60</top> <width>250</width> <height>200</height> <visible>true</visible> <imagepath>myimagepath</imagepath> <info></info> <timeperimage>5000</timeperimage> <fadetime>2000</fadetime> <pauseatend>10000</pauseatend> <randomize>true</randomize> <loop>no</loop> <aspectratio>stretch</aspectratio></control>
6.5.2 Image Size and Type Restrictions
对于<texture>标记,并在其他控制的所有<texture>标签,还有一小部分规则,你应该尽可能遵循:
6.5.2.1 Formats
如果您想使用完整的8bit透明度,那么使用PNG。如果你只需要一个透明的颜色,你可以在<colorkey>标签注明这一点,然后任何图像都可以。建议您尽可能使用PNG和JPG。因此图像(KB)的大小不为图像的像素大小一样重要 - 可以随意将它们(如PNG)以无损的方式存储就可以了。 唯一的例外是,如果你需要一个动画纹理。在这种情况下,我们只支持GIF动画。也有一些GIF动画,可能无法正常工作。用ImageReady中CS,并确保您设置GIF,动画“恢复到背景”,他们应该正常工作。
6.5.3 Available tags and attributes
除了默认控件标签下面的标签可用。请注意,每个标签仅是小写。这一点很重要,因为XML标签是区分大小写的。
0 0
- Kodi ——6 Controls (5) MultiImage Control
- Kodi ——6 Controls (6) Radio button Control
- Kodi ——6 Controls (2) Fade Label Control
- Kodi ——6 Controls (3) Button Control
- Kodi ——6 Controls (4) Image Control
- Kodi ——6 Controls (7)Toggle button control
- Kodi ——6 Controls (8)Spin Control
- Kodi ——6 Controls (10)6.10 Slider Control
- Kodi ——6 Controls (11)6.11 Progress Control
- Kodi ——6 Controls (12)6.12 ScrollBar Control
- Kodi ——6 Controls (15)6.15 Visualisation Control
- Kodi ——6 Controls (16)6.16 Video Control
- Kodi ——6 Controls (17) 6.17 Mover Control
- Kodi ——6 Controls (18) 6.18 Resize Control
- Kodi ——6 Controls (19) 6.19 Edit Control
- Kodi ——6 Controls (20)6.20 EPGGrid Control
- Kodi ——6 Controls (21)6.21 Group Control
- Kodi ——6 Controls (22)6.22 GroupList Control
- android 源码学习(一) 源码目录结构
- 第三方 Cookie
- 美团Android自动化之旅—生成渠道包之打包工具
- Docker 网络(五)——容器网络命名空间
- Android得到视频缩略图
- Kodi ——6 Controls (5) MultiImage Control
- 2009年4月10日
- 2009年4月13日
- SSDT HOOK 内存写保护
- 2009年4月13日
- 隐藏文——叛逆部落
- 隐藏文——叛逆部落
- 2009年5月6日
- 薛乐