红颜色的Andr​​oid的9补丁可绘制含义 [英] Meaning of red color in Android's Nine-patch drawables

查看:160
本文介绍了红颜色的Andr​​oid的9补丁可绘制含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照 Android的文档,我们知道左和顶部的黑线限定,可拉伸区域,以及底部和右侧行中定义的内容区域。

According to the Android documentation, we know that the left and top black line define the stretchable area, and the bottom and right line define the content area.

这很容易理解,但我发现,从机器人-17架构textfield_activated_holo_dark.9.png命名下面的图片。的红颜色在左下方的目的,右下和右上拐角的是什么?

It's easy to understand, but I found the below image named textfield_activated_holo_dark.9.png from android-17 framework. What is the purpose of the red colors in the lower-left, lower-right and top-right corners?

推荐答案

我相信<一个href="http://stackoverflow.com/questions/11406521/android-9-patch-tool-what-is-the-new-layout-bounds-feature/11854891#11854891">this线程对同一主题进行一些讨论。

I believe this thread has some discussion on the same topic.

这已经得到的东西做的设置布局界限,我相信它没有记录呢。

This has got something to do with setting layout bounds and I believe its not documented yet.

这篇关于红颜色的Andr​​oid的9补丁可绘制含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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