Hello every one actually my question is how to make a UI in XML with the shapes like this which is present in the Image ...!!
你好,每个人实际上我的问题是如何使用图像中存在的形状这样的形状来制作XML ... !!
this is image which is generated in the Photoshop, i want to make the same interface in the Android XML.
这是在Photoshop中生成的图像,我想在Android XML中创建相同的界面。
Thanks in advance.
提前致谢。
1 个解决方案
#1
2
The simplest way would be to set that image as the background of your layout. You could convert your image into a nine-patch if you don't want the jagged part to scale.
最简单的方法是将该图像设置为布局的背景。如果您不希望锯齿状零件缩放,可以将图像转换为九个色块。
#1
2
The simplest way would be to set that image as the background of your layout. You could convert your image into a nine-patch if you don't want the jagged part to scale.
最简单的方法是将该图像设置为布局的背景。如果您不希望锯齿状零件缩放,可以将图像转换为九个色块。