solved it!!

if you use style="?sytleItem" in a listview the context menu breaks,
onclick still works.  using style="?attr/styleItem" fixes it.  don't
ask why, i figured it out by reading the android source and (LOT of)
trial and error.


On May 6, 7:34 pm, denov <[email protected]> wrote:
> the ? references a (custom) attribute of theme to allow you to switch
> themes in your activity.
>
> take a look 
> athttp://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;...
>
> On May 6, 8:52 am, Justin Anderson <[email protected]> wrote:
>
>
>
>
>
>
>
> > *> style="?listItem"*
> > *
> > *
> > This line seems weird to me...  If you take a look at this link I think you
> > will find the 
> > problem:http://developer.android.com/guide/topics/ui/themes.html
>
> > Shouldn't it be: style="@style/list_item_bl"?
> > ***
> > * Thanks,
> > Justin Anderson
> > On Thu, May 5, 2011 at 5:11 PM, denov <[email protected]> wrote:
> > > style="?listItem

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to