4

我有四张图像。

在这里,我附上了一张示例图片。

在此处输入图像描述

如何使用这些类型的图像创建圆形图像?

哪种布局最适合为 android 创建 UI?

提前致谢。

4

2 回答 2

1

are you talking about something like this.. http://www.baijs.nl/tinycircleslider/

And for designing the UI for Android is depends on our requirement.it means whether you want to design something looks like rows and columns then GridLayout and tableLayout will be better,depends on requirement and look the layout will changes once try it your self and choose the best suited for your applicaiton.All the best Mate

于 2012-12-19T14:37:58.780 回答
0

在相对布局中添加四个图像视图,其属性为 ParentTop、ParentRight、ParentBottom 和 ParentLeft。每个图像都是带有透明额外区域的矩形。我可以理解在第一次尝试时很难想象。

现在来点击区域。所以关于忽略透明区域点击的运行时决定将是正确的。

更棘手的方法是管理所有侦听器的标志,如果两个侦听器调用其透明区域。

于 2012-12-19T14:40:14.150 回答