我如何创建这种类型的纹理进度条&QUOT的;线诊断和QUOT; (ninepatch?)? [英] How I can create this type of textured progress bar "line-diag" (ninepatch?)?

查看:297
本文介绍了我如何创建这种类型的纹理进度条&QUOT的;线诊断和QUOT; (ninepatch?)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能创建这种类型的纹理进度条线诊断(ninepatch?)?

How I can create this type of textured progress bar "line-diag" (ninepatch?)?

我看过一些线程,我认为解决办法是使用类型9补丁的图像。但我不明白怎么做是正确的。你能解释一下我怎样才能使这个进度条?

I have read some threads and I think the solution would be using the images of type 9-patch. But I do not understand how to do it right. Can you explain how I can make this progress bar?

推荐答案

无需9补丁。您可以使用自定义XML可绘制。这里是一个很好的教程:的Andr​​oid教程初学者

No need for a 9-patch. You can use custom XML drawables. Here is a good tutorial: Android Tutorials for Beginners

谷歌的 Android的定制进度条更多的例子。

这篇关于我如何创建这种类型的纹理进度条&QUOT的;线诊断和QUOT; (ninepatch?)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆