主题:
我想创建相同的linearlayout这个边界为例:在这个例子中,我们可以看到,在linearlayout边境是不一样的。我如何使用xml可拉的创建这个文件?现在,我只能够创建一个简单的linearlayout边境周围是这样的:
原文:
I would like to create the same border of this linearlayout as example :
In this example, we can see that the border is not the same all around the linearLayout. How can i create this using an xml drawable file ?
For now, i have only able to create a simple border all around the linearlayout like this :
android:radius="1dp"
android:topRightRadius="0dp"
android:bottomRightRadius="0dp"
android:bottomLeftRadius="0dp" />
android:width="1dp"
android:color="#E3E3E1" />
网友:您可以使用财产……创建一个XML文件与矩形等形状,颜色和阴影效果和设置它作为你的线性布局的背景。
(原文:you can use background property for that...create one XML file with shape like rectangle, color and shadow effect for it and set it as background for
your linear layout..)
网友:使用中风的灰色边框和填充效果
(原文:use stroke for gray border and padding effect too)
网友:我认为,它的两个布局xml,一个是线性布局和内部是相对布局有填充
(原文:I think,that its two layout xml,say one is linear layout and inner is relative layout having padding)
楼主:@Prag创建这个xml文件的你能帮我吗?
(原文:@Prag's Coul