<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainlayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/home_bg" >
<RelativeLayout
android:id="@+id/headingText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginTop="10dp"
android:background="@drawable/top_bar"
android:orientation="horizontal" >
<Button
android:id="@+id/settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginLeft="10dp"
android:background="@drawable/settings" />
<ImageView
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
android:layout_centerVertical="true"
android:layout_gravity="center"
android:background="@drawable/lg_home"
android:gravity="center" />
</RelativeLayout>
<com.devsmart.android.ui.HorizontalListView
android:id="@+id/listview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/headingText" />
<RelativeLayout
android:id="@+id/buttonlayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/imagelayout"
android:clipChildren="false"
android:orientation="horizontal" >
<RelativeLayout
android:id="@+id/leftbuttonlayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:orientation="vertical" >
<Button
android:id="@+id/gujarat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginBottom="8dp"
android:background="@drawable/gujarat"
android:gravity="center" />
<Button
android:id="@+id/ff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/gujarat"
android:layout_marginTop="8dp"
android:background="@drawable/fairs_festivals"
android:gravity="center" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rightbuttonlayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginLeft="16dp"
android:layout_toRightOf="@id/leftbuttonlayout"
android:orientation="vertical" >
<Button
android:id="@+id/AR"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginBottom="8dp"
android:background="@drawable/augmented_reality"
android:gravity="center" />
<Button
android:id="@+id/touristspot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/AR"
android:layout_marginTop="8dp"
android:background="@drawable/tourists"
android:gravity="center" />
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/slidinglayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/imagelayout"
android:layout_toLeftOf="@id/buttonlayout" >
<Button
android:id="@+id/open"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerInParent="true"
android:layout_toLeftOf="@id/buttonlayout"
android:background="@drawable/slider_arrow"
android:gravity="center" />
<RelativeLayout
android:id="@+id/slidingpanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:background="@drawable/sidepanel_bg"
android:orientation="vertical"
android:visibility="invisible" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_gravity="center"
android:layout_marginTop="9dp"
android:background="@drawable/wishlist_icon"
android:gravity="top"
android:paddingLeft="5dp" />
<RelativeLayout
android:id="@+id/buttonsublayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/button1"
android:orientation="horizontal" >
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:background="@drawable/friends_icon"
android:gravity="center"
android:paddingLeft="5dp" />
<Button
android:id="@+id/button22"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/button2"
android:background="@drawable/closearrow" />
</RelativeLayout>
<Button
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:background="@drawable/triplist_icon"
android:gravity="bottom"
android:paddingLeft="13dp" />
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>
No comments:
Post a Comment