I’m new in the android world and I would like to make an android interface of this kind:
http://android.appstorm.net/wp-content/uploads/2011/03/picplz-sc.jpg
(screen of the left)
However, i added two icons to my xml but these icons are not beside… (not on the same line)
The xml is the following:
<?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>
Is someone has a good tutorial about layout please ? 🙂
Thx for any help
Sounds like you need to read up on layouts.
LinearLayoutis only one of several layouts that are used. Here are some links to helpful tutorials:http://www.learn-android.com/2010/01/05/android-layout-tutorial/
http://developer.android.com/resources/tutorials/views/index.html