Monday 31 October 2011

splash2.xml


<?xml version="1.0" encoding="utf-8"?>
<TabHost android:layout_width="fill_parent"
android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost">

<RelativeLayout android:layout_width="fill_parent"
android:id="@+id/bottombar" android:layout_height="wrap_content">
<LinearLayout android:id="@+id/layouttab"
android:layout_centerHorizontal="true" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_alignParentBottom="true">


<TabWidget android:id="@android:id/tabs"
android:layout_weight="1" android:layout_height="wrap_content"
android:layout_width="wrap_content">
<FrameLayout android:id="@android:id/tabcontent"
android:layout_weight="1" android:layout_height="fill_parent"
android:layout_width="wrap_content"></FrameLayout>
</TabWidget>


</LinearLayout>


<RelativeLayout android:id="@+id/mainscreen"
android:background="@drawable/secondimage" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<Button android:layout_width="90dp" android:text="shop"
android:layout_height="wrap_content" android:layout_margin="5dip"
android:id="@+id/b1" />
<Button android:layout_width="90dp" android:text="our specials"
android:layout_height="wrap_content" android:layout_margin="5dip"
android:id="@+id/b2" />
<Button android:layout_width="90dp" android:text="printers"
android:layout_height="wrap_content" android:layout_margin="5dip"
android:id="@+id/b3" />
<Button android:layout_width="90dp" android:text="copiers"
android:layout_height="wrap_content" android:layout_margin="5dip"
android:id="@+id/b4" />
<Button android:layout_width="90dp" android:text="cash register"
android:layout_height="wrap_content" android:layout_margin="5dip"
android:id="@+id/b5" />


</RelativeLayout>


</RelativeLayout>






</TabHost>

No comments:

Post a Comment