Hi,

I have trouble 
(example<http://groups.google.com/group/android-developers/browse_thread/thread/5b4ce3e49a1b63d2/>)
wrapping my head around styles/themes. Can somebody help me or point me to
actual documentation?

Let's say I have a drawable that I want to use as the background of a
layout:

<shape xmlns:android="http://schemas.android.com/apk/res/android";
        android:shape="rectangle">
        <gradient android:startColor="#9F9FA4" android:endColor="#66FFFFFF"
                android:angle="270" />
</shape>


Now I want to have a dark and a light theme. Depending on the chosen
theme I want to have a different value for startColor and endColor.
How do I do that? I am aware of extending themes, but what do I put
into the items? How do I reference those new values then?


Cheers,

Mariano

-- 
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