views:

116

answers:

1

I have a layout that looks like this (some attributes removed for brevity)

<RelativeLayout>
    <ImageButton 
         android:id="@+id/button"
         android:nextFocusRight="@+id/gridview"/>
    <GridView 
         android:id="@+id/gridview" />
</RelativeLayout>

When I navigate using the DPAD from the button to the gridview, the OnItemSelectedListener is not fired. However a new layout pass is perform. Why is this ? Is this an android bug & my bug ? Thanks

P.S I am running this in the emulator.

A: 

just go thru the following link

http://developer.android.com/guide/topics/manifest/uses-configuration-element.html

hope it helps you

Chiranjeevi