如何创建这样的布局? [英] How to create this layout?
问题描述
结果
我想设计一个布局我的Android应用程序,如下面的图中有imageviews / Textviews放置。 结果
眼下,我试图用绝对的布局,但我知道,这将造成问题随着屏幕尺寸的变化。结果
请帮我你的想法。结果
所有评论都欢迎。
I would like to design a layout for my android app which has imageviews/Textviews placed as shown in the figure below.
Right now, i tried to use Absolute layout, but i know that will create problems as the screen size changes.
Please help me with your ideas.
All comments are welcomed.
感谢和放大器;问候,结果
森
Thanks & Regards,
Sen
推荐答案
嗯,我觉得我的做法会计算某些功能,将曲线(也许两个功能之一为黄色,一个绿色模型1 / -x似乎不错),然后画出圆圈中心坐标如x = F(X)。您可以通过简单的实现自定义视图做到这一点,重写的onDraw方法。
Hmm I think my approach will be to calculate some function that will model the curve (maybe two functions one for yellow and one for green 1/-x seems good) and then draw the circles with center coordinates like x = f(x). You can do this by simple implementing custom view and override onDraw method.
这篇关于如何创建这样的布局?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!