Monday, April 26, 2010

[android-developers] Re: ListView focus behaving different when using minSdkVersion=3

Hi,

Thanks for the response.

Your questions were helpful. I changed the SDK version I was running
my code on from 1.5 to 1.6 and implemented the below attributes in the
manifest and everything works as it should (on 1.6+ devices).

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" />

However Eclipse shows a warning that the minSdkVersion is lower than
the targetSdkVersion version. Do you know if this can cause problems?

Also, by building my app while running the code on the 1.6 SDK will it
still be available to 1.5 devices in the market?

Thanks in advance.

Cheers,

Jason


On Apr 24, 6:48 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote:
> Looks like a bug in the Android framework.
>
> What is your targetSdk value?
> What actual SDK version are you running your code on?
>
> On Mar 15, 10:13 pm, licorna <lico...@gmail.com> wrote:
>
>
>
>
>
> > A few days ago I was trying to fix this issue: I have a header (three
> > ImageButton's) and a ListView. If I use the dpad, pressing DOWN to
> > focus the ListView, the ListView shows as selected the seventh or
> > eighth row, not the first one.
>
> > What I need to do is that the first element of the ListView get the
> > focus (or selection) when I use the dpad, from another screen
> > component, but instead, the seventh or eighth is selected.
>
> > I had minSdkVersion=3 in my manifest. When I changed it to
> > minSdkVersion=4 it worked as expected (first row selected). Don't know
> > why, but there is a difference between both.
>
> > I'm posting it right here if someone else has the same problem as me.
> > The fring application has the very same problem in contact list.
>
> > Salud,
> > Rodrigo
>
> --
> 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
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment