Tuesday 12 February 2013

UI Design Task - 4




1)xml Code for Design this Screen:

<?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:background="#ffffff"
    android:orientation="vertical" >

    <Button
        android:id="@+id/imageView4"
        android:layout_width="fill_parent"
        android:layout_height="50dp"
        android:background="@drawable/a0" />

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical" >

        <LinearLayout
            android:id="@+id/LinearLayout01"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp" >

            <ImageView
                android:id="@+id/ImageView02"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b1" />

            <ImageView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_weight=".45" />

            <ImageView
                android:id="@+id/ImageView03"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b2" />
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="5dp"
            android:layout_marginRight="5dp" >

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".4"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="Search Jobs"
                android:textColor="#000000"
                android:typeface="serif" />

            <ImageView
                android:layout_width="20dp"
                android:layout_height="wrap_content"
                w="" />

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".4"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="Fresh Jobs"
                android:textColor="#000000"
                android:typeface="serif" />
        </LinearLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical" >

        <LinearLayout
            android:id="@+id/LinearLayout01"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp" >

            <ImageView
                android:id="@+id/ImageView02"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b3" />

            <ImageView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_weight=".4" />

            <ImageView
                android:id="@+id/ImageView03"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b4" />
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="5dp"
            android:layout_marginRight="5dp" >

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".5"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="EmployerActions"
                android:textColor="#000000"
                android:typeface="serif" />

            <ImageView
                android:layout_width="20dp"
                android:layout_height="wrap_content" />

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".5"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="Career Services"
                android:textColor="#000000"
                android:typeface="serif" />
        </LinearLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical" >

        <LinearLayout
            android:id="@+id/LinearLayout01"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp" >

            <ImageView
                android:id="@+id/ImageView02"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b5" />

            <ImageView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_weight=".4" />

            <ImageView
                android:id="@+id/ImageView03"
                android:layout_width="fill_parent"
                android:layout_height="75dp"
                android:layout_weight=".3"
                android:src="@drawable/b6" />
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="5dp"
            android:layout_marginRight="5dp" >

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".5"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="My Profile"
                android:textColor="#000000"
                android:typeface="serif" />

            <ImageView
                android:layout_width="20dp"
                android:layout_height="wrap_content" />

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="25dp"
                android:layout_gravity="center"
                android:layout_weight=".5"
                android:background="#E6E6E6"
                android:gravity="center"
                android:text="Forward Resume"
                android:textColor="#000000"
                android:typeface="serif" />
        </LinearLayout>
    </LinearLayout>

</LinearLayout>



2)Images for Screen Design:

Copy this images and Save to your drawable folder your project will be successfully executed.









No comments:

Post a Comment