找回密码
 立即注册
pngthe图片布景 | android开发 2022-10-29 43 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
最近做一个项目,很多个窗口都重复用到过一个布景图片,为了减小资源文件的容量,做了这个demo,用的是google现已遗弃了的工具做的,大概的说一下我的思路:显示一个大的肯定布局,然后是9个小的肯定布局,分别设置布景为小图片,四个角的图片是固定的(图中的A,B,C,D),其他几张图片都做拉伸管理大家有什么更好的实现方法吗?本资料共包括以下附件:
a.png
b.png
c.png
d.png
e.png
f.png
g.png
h.png
i.png

(Recently, in a project, many windows have repeatedly used a scene image. In order to reduce the capacity of resource files, this demo was made using tools that Google has abandoned. To give a general idea, I would like to show a large affirmation layout, followed by nine small affirmation layouts. Set the scene as small images, and the images in the four corners are fixed (A, B, C, D in the figure), Do you have any better way to achieve stretch management in other pictures? This document includes the following annexes:
a.png
b.png
c.png
d.png
e.png
f.png
g.png
h.png
i.png)

[下载]15513968776.rar




上一篇:Android 引用第三方库的方法
下一篇:Android 自定义时钟控件