
我已经在这几天工作但我无法得到我需要的布局.
我想有一个类似于下图的布局.
任何人都可以指导我吗?我应该使用什么样的布局和视图?
谢谢 :)
解决方法:
我添加了一些通过在eclipse中的布局编辑器中绘制你想要的代码而生成的代码.
看起来像这样
<?xml version="1.0" enCoding="utf-8"?> <linearLayout xmlns:androID="http://schemas.androID.com/apk/res/androID" androID:layout_wIDth="fill_parent" androID:layout_height="fill_parent" androID:orIEntation="vertical" ><linearLayout androID:ID="@+ID/linearLayout1" androID:layout_wIDth="fill_parent" androID:layout_height="fill_parent" androID:orIEntation="vertical" > <linearLayout androID:ID="@+ID/linearLayout2" androID:layout_wIDth="fill_parent" androID:layout_height="wrap_content" androID:layout_weight="0.81" > <ImageVIEw androID:ID="@+ID/imageVIEw2" androID:layout_wIDth="0dp" androID:layout_height="fill_parent" androID:layout_weight="1.00" androID:src="@drawable/ic_launcher" /> <linearLayout androID:ID="@+ID/linearLayout3" androID:layout_wIDth="0dp" androID:layout_height="fill_parent" androID:layout_weight="1" androID:orIEntation="vertical" > <ImageVIEw androID:ID="@+ID/ImageVIEw02" androID:layout_wIDth="fill_parent" androID:layout_height="0dp" androID:layout_weight="1.00" androID:src="@drawable/ic_launcher" /> <ImageVIEw androID:ID="@+ID/ImageVIEw01" androID:layout_wIDth="fill_parent" androID:layout_height="0dp" androID:layout_weight="1.00" androID:src="@drawable/ic_launcher" /> <ImageVIEw androID:ID="@+ID/imageVIEw3" androID:layout_wIDth="fill_parent" androID:layout_height="0dp" androID:layout_weight="1.00" androID:src="@drawable/ic_launcher" /> </linearLayout> </linearLayout> <ImageVIEw androID:ID="@+ID/imageVIEw1" androID:layout_wIDth="fill_parent" androID:layout_height="wrap_content" androID:src="@drawable/ic_launcher" /></linearLayout></linearLayout> 总结 以上是内存溢出为你收集整理的Android – 带图像的布局全部内容,希望文章能够帮你解决Android – 带图像的布局所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)