OK, so I found one answer...
In the docs, there is a Note: to refer to a value in the currently
applied theme, use "?" instead of "@"

However, I still need helping getting Android to find my style in the
layout tag.  Anybody?

On Jun 1, 12:15 pm, Beth <emez...@gmail.com> wrote:
> Do you have any suggestions on how to setup a Theme and/or Style.
> There is a layout tag available and I would like some help on how to
> use it.
>
> In the demo code on the Dev Guide I found this tag:
> <CheckBoxPreference
>                 android:key="child_checkbox_preference"
>                 android:dependency="parent_checkbox_preference"
>                 android:layout="?android:attr/preferenceLayoutChild"
>                 android:title="@string/title_child_preference"
>                 android:summary="@string/summary_child_preference" />
>
> (http://developer.android.com/guide/samples/ApiDemos/res/xml/
> preferences.html)
>
> So I read and searched the groups and then scratched my head. I am not
> able to extrapolate from the docs and this example how to pull in
> something from my application's styles.xml file.  What is the question
> mark doing in this tag?  If somebody has styled their preferences xml
> and can get me on track, I would really appreciate the help.
>
> Best regards,
> Beth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to