我在Android的世界是新,我想作这种类型的Android界面: http://android.appstorm.net/wp-content/uploads/2011/03/picplz-sc.jpg (左屏幕)布局 - 安卓
但是,我添加了两个图标,我的XML,但这些图标都没有......旁边(而不是在同一条线路)
的XML如下:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="#ABABAB">
<ImageView android:layout_width="fill_parent" android:id="@+navigate/title"
android:layout_height="wrap_content"
android:src="@drawable/myimg" android:layout_marginTop="30px" />
<ImageView
android:layout_width="fill_parent" android:id="@+navigate/bookings"
android:layout_height="wrap_content"
android:src="@drawable/inventory" android:layout_marginTop="20px" android:layout_marginRight="150px"
/>
<ImageView
android:layout_width="fill_parent" android:id="@+navigate/picture"
android:layout_height="wrap_content"
android:src="@drawable/picture" android:layout_marginLeft="150px"
/>
</LinearLayout>
是什么人有布局的一个很好的教程吗? :) Thx任何帮助
这种布局是垂直的。垂直意味着一个在另一个之上。 – njzk2