使用.9.png工具制作渐变png

发布于 2024-12-13 19:37:28 字数 243 浏览 3 评论 0 原文

我知道如何使用.9.png工具制作普通的.9.png,但我想使用该工具制作渐变的png。

首先,我使用 Photoshop 制作渐变 PNG,然后将 .9.png 放入 .9 工具中。渐变PNG是变化的,有时变化很大,所以.9.png渐变PNG看起来不太好。

所以我的问题是是否有一些技巧或技巧可以制作出具有渐变效果的良好.9.png。我不想使用常见的渐变PNG,因为它占用太多空间,而且系统内置的.9.png也不好看。你能给我一些建议吗?

I know how to use the .9.png tool to make a common .9.png, but I want to use the tool to make a gradual png.

First I make a gradual PNG using Photoshop, then I put the the .9.png into the .9 tool. The gradual PNG is changed, sometimes the change is very big, so the .9.png gradual PNG doesn't look good.

So my question is if there is some skill or trick to make a good .9.png with a gradual effect. I do not want to use common gradual PNG because it occupies too much space, and the built-in system .9.png doesn't look good either. Can you give me some advice?

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

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

发布评论

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

评论(2

末が日狂欢 2024-12-20 19:37:28

以下是有关draw9patch 的教程的链接
你可以参考它,我刚刚用谷歌搜索并发现了这个有用的链接

http ://android10.org/index.php/articlesother/279-draw-9-patch-tutorial

http://www.youtube.com/watch?v=IfrXE2R2nqM

http://www.youtube.com/watch?v=kzdZ_9smcGc

http://developer.android.com/guide/developing/tools/draw9patch.html

我的设计师曾经建议过我:“在制作9补丁时,主要是从左侧和顶部选择像素”。

Here are links for the tutorial abouth draw9patch
you can refer it,I have just googled and found this useful links

http://android10.org/index.php/articlesother/279-draw-9-patch-tutorial

http://www.youtube.com/watch?v=IfrXE2R2nqM

http://www.youtube.com/watch?v=kzdZ_9smcGc

http://developer.android.com/guide/developing/tools/draw9patch.html

My Designer Adviced me once:"While making 9 patch,main thing is to selct pixels from the Left and Top side".

鱼窥荷 2024-12-20 19:37:28

这不是您问题的答案,但您可能会发现它很有用。尝试使用渐变颜色:

http://developer.android.com/参考/android/graphics/drawable/GradientDrawable.html

Android:使用线性渐变作为背景看起来带状

​​Android LinearLayout 渐变背景

编辑: 还可以考虑使用图块,如如何使 Android 应用程序的背景图像重复 和 如何使 Android 应用的背景图像重复

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