问题描述
我要实现以下布局:
I want to implement following layout:
本的图标(圈子)和标签(矩形)之间的固定利润率的伟大工程,但对于身高维护的LinearLayout没有多少可作为图标上面的图标的标签区域重叠
This works great for fixed margin between Icon(Circle) and Label(Rectangle) but for Height maintenance LinearLayout is not much usable as Icon overlaps above icons' label area
有没有什么办法来动态动态设置此布局不同的屏幕?
Is there any way to dynamically set this layout dynamically for different screens??
注:图标和标签都是一样的,因为它是按钮drawabletop,所以如果有将安排简单的按钮会做简单的想法......
NOTE:Icons and label are same as it is button with drawabletop, so if there will simple idea for arranging simple button will do.....
推荐答案
下面是一个的exaple实施:的,也是layout在一个圆圈按钮?
Here is an exaple to implement: Android 3D Carousel and also layout with buttons in a circle?
还检查了现有的SO问题:创造了机器人
Also Check out the existing SO question: creating a Circular view in android
从这篇文章中,我相信你会得到的设计布局确切的想法:的 Android SDK中:创建一个旋转拨号器
From this article i am sure you will get exact idea of designing layout: Android SDK: Creating a Rotating Dialer
这篇关于排列按钮动态的星星图案的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!