Hi rutu,
In your 1st question, to avoid overlapping of d spinner, set the  y-axis in
the xml page related with the spinner.
In your 2nd question, create button or what ever you want. then make these
as boolean value by setChecked .

Thanks,
Dolan.

On Fri, May 23, 2008 at 1:17 PM, rutu <[EMAIL PROTECTED]> wrote:

>
> <?xml version="1.0" encoding="utf-8"?>
> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>    android:layout_width="fill_parent"
>    android:layout_height="fill_parent">
>
> <view class="com.google.android.maps.MapView"
>        android:id="@+id/map"
>        android:layout_width="fill_parent"
>        android:layout_height="fill_parent"
>     />
>
>    <Spinner android:id="@+id/spinnerCITY"
>        android:layout_alignParentTop="true"
>        android:layout_width="fill_parent"
>        android:layout_height="wrap_content"
>        android:drawSelectorOnTop="true"
>
>
>     />
>
>      <Spinner android:id="@+id/spinnerMOVIE"
>        android:layout_alignParentTop="true"
>        android:layout_width="fill_parent"
>        android:layout_height="wrap_content"
>                android:drawSelectorOnTop="true"
>
>     />
>
>  </RelativeLayout>
>
>    THIS IS THE CODE FOR XML FILE IT IS SHOWING TWO SPINNERS BUT THEY
> ARE OVERLAPPING CAN U SUGGEST ME THE WAY HOW TO SOLVE THIS PROBLEM
> ONE MORE THING I WANT THIS TEO SDPINNER TO BE IN DIFFERENT VIEW
> BECAUSE ONE OF THE SPINNER HAS TO BE VISIBLE AND ONE SHOULD  NOT BE
> VISIBLE
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to