Friday, May 6, 2011

[android-developers] Re: adding style in xml breaks onClick events.

the ? references a (custom) attribute of theme to allow you to switch
themes in your activity.

take a look at
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/styles.xml;h=c95ede77325740175c90d8de1504bc7fec4361a9;hb=HEAD


On May 6, 8:52 am, Justin Anderson <magouyaw...@gmail.com> 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 <d...@syncopated.net> 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 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate