Android页面设计边框 [英] Border for Android Page Design
本文介绍了Android页面设计边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要在设计中设置边界.我该如何设置?我可以使用两个线性布局来设置边框.还有其他方法吗?
在此先感谢您.
Hi All,
I need to set a border in my design. How can I set it? I can set border by using two linearlayouts. Is there any other way?
Thanks in advance.
推荐答案
您可以创建9个补丁的图像并将其设置为背景图像.
http://developer.android.com/guide/developing/tools/draw9patch.html [ ^ ]
我不确定这是最好的方法,但它是替代方法.
You could create a 9-patch image and set that as the background image.
http://developer.android.com/guide/developing/tools/draw9patch.html[^]
I''m not sure it''s the best method but it''s an alternative.
这篇关于Android页面设计边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文