Re: [android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread Kostya Vasilyev
 Photoshop's color picker could be an option too (used with a 
screenshot taken in DDMS).


18.09.2010 22:06, DanH пишет:

There's a way, using one of the tools shipped with the emulator, to
determine what color is actually being displayed.  (The tool, which
I've never used, is described in Pro Android 2 -- don't remember the
name.)  Probably some 3rd party tools can be used for this as well.

On Sep 16, 8:51 am, Mark Wyszomierskimar...@gmail.com  wrote:

Hi,

I have a 9 png which is used as the background of a view, the
stretchable region has a color of:

#ebebeb

I have a view next to it, and I've set its background color like so:

   LinearLayout

android:background=#ebebeb

when the two views are beside one another, you can clearly tell that
the colors are not the same, they're different shades of grey. I'm
seeing this on the emulators, haven't had a chance to try it on a
device. Is this expected, or is there something I'm doing wrong in the
color declaration?

Thanks



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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


Re: [android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 2:06 PM, DanH danhi...@ieee.org wrote:
 There's a way, using one of the tools shipped with the emulator, to
 determine what color is actually being displayed.  (The tool, which
 I've never used, is described in Pro Android 2 -- don't remember the
 name.)

That would be Hierarchy Viewer:

http://developer.android.com/guide/developing/tools/hierarchy-viewer.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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