[android-developers] Re: Replace styles and themes

2009-10-08 Thread ParanoidAndroid

Thanks Dianne.
Are there any plans to implement this feature?

I basically just want to set colors at runtime. The easiest thing
would be to replace the color values from the colors.xml file.
Of course I could also set color values for views programmatically,
but I have no idea about drawables (XML).
How could I change the colors of those drawables?

On 7 Okt., 17:29, Dianne Hackborn hack...@android.com wrote:
 Sorry, not currently possible.

 On Wed, Oct 7, 2009 at 2:55 AM, bestpriv...@googlemail.com 

 bestpriv...@googlemail.com wrote:

  I would like to load new themes/styles from the web to replace the
  current ones. Is that possible?
  As far as I can see those resources are read-only. Maybe there is
  still a chance to achieve this?

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Replace styles and themes

2009-10-08 Thread Dianne Hackborn
Eventually it will be possible, but I have no idea what that will be.
ColorDrawable is a solid color drawable.

On Thu, Oct 8, 2009 at 9:26 AM, ParanoidAndroid
bestpriv...@googlemail.comwrote:


 Thanks Dianne.
 Are there any plans to implement this feature?

 I basically just want to set colors at runtime. The easiest thing
 would be to replace the color values from the colors.xml file.
 Of course I could also set color values for views programmatically,
 but I have no idea about drawables (XML).
 How could I change the colors of those drawables?

 On 7 Okt., 17:29, Dianne Hackborn hack...@android.com wrote:
  Sorry, not currently possible.
 
  On Wed, Oct 7, 2009 at 2:55 AM, bestpriv...@googlemail.com 
 
  bestpriv...@googlemail.com wrote:
 
   I would like to load new themes/styles from the web to replace the
   current ones. Is that possible?
   As far as I can see those resources are read-only. Maybe there is
   still a chance to achieve this?
 
  --
  Dianne Hackborn
  Android framework engineer
  hack...@android.com
 
  Note: please don't send private questions to me, as I don't have time to
  provide private support, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see
 and
  answer them.
 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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



[android-developers] Re: Replace styles and themes

2009-10-08 Thread ParanoidAndroid

It would be really cool to make those chnages at runtime, maybe one
day :-)
I actually meant shapes when I was talking about drawables, like
stroke android:width=1sp android:color=@color/color_1/.
Is there a way to change those color attributes programmatically at
runtime?


On 8 Okt., 18:33, Dianne Hackborn hack...@android.com wrote:
 Eventually it will be possible, but I have no idea what that will be.
 ColorDrawable is a solid color drawable.

 On Thu, Oct 8, 2009 at 9:26 AM, ParanoidAndroid
 bestpriv...@googlemail.comwrote:





  Thanks Dianne.
  Are there any plans to implement this feature?

  I basically just want to set colors at runtime. The easiest thing
  would be to replace the color values from the colors.xml file.
  Of course I could also set color values for views programmatically,
  but I have no idea about drawables (XML).
  How could I change the colors of those drawables?

  On 7 Okt., 17:29, Dianne Hackborn hack...@android.com wrote:
   Sorry, not currently possible.

   On Wed, Oct 7, 2009 at 2:55 AM, bestpriv...@googlemail.com 

   bestpriv...@googlemail.com wrote:

I would like to load new themes/styles from the web to replace the
current ones. Is that possible?
As far as I can see those resources are read-only. Maybe there is
still a chance to achieve this?

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see
  and
   answer them.

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Replace styles and themes

2009-10-07 Thread Dianne Hackborn
Sorry, not currently possible.

On Wed, Oct 7, 2009 at 2:55 AM, bestpriv...@googlemail.com 
bestpriv...@googlemail.com wrote:


 I would like to load new themes/styles from the web to replace the
 current ones. Is that possible?
 As far as I can see those resources are read-only. Maybe there is
 still a chance to achieve this?
 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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