changing EditText
When I change the layout_height of an EditText field in Android, the nice looking gradient becomes a hard gray line as you can see here: Is there a way to either fix or disable this gradient? thx Ben ...
When I change the layout_height of an EditText field in Android, the nice looking gradient becomes a hard gray line as you can see here: Is there a way to either fix or disable this gradient? thx Ben ...
I'm creating a small image upload validator for this printing company, they need to make sure that an uploaded image has a color space of either CMYK or PMS. This is what I'm using right now: Image img = Image.FromStream(fupFile.PostedFile.InputStream); ImageFlags flags = (ImageFlags)Enum.Parse(typeof(ImageFlags), img.Flags.ToString())...
Hello All, Can anyone help me on how to fill the background color for all of inactive cells in my excel workbook. This will be done using POI library and vb.net 2003 or maybe in java. ...
I am trying to use one of these algorithms to convert a RGB image to grayscale : The lightness method averages the most prominent and least prominent colors: (max(R, G, B) + min(R, G, B)) / 2. The average method simply averages the values: (R + G + B) / 3. The formula for luminosity is 0.21 R + 0.71 G + 0.07 B. But i g...
So say I have an image that I want to "pixelate". I want this sharp image represented by a grid of, say, 100 x 100 squares. So if the original photo is 500 px X 500 px, each square is 5 px X 5 px. So each square would have a color corresponding to the 5 px X 5 px group of pixels it swaps in for... How do I figure out what this one color...
I want to give the effect that the ListView has faded from whatever is around it. By default it is set to whatever colour your ListView is. I can adjust the orientation of the FadingEdge and the size of the FadingEdge but not the colour. Is it possible? ...
Hi to all, is there any plugin that classificate the comments and colorize them related to their class. I mean; when commenters making comment, they should be able to choose a class from dropdown (such:General/Support/Suggestion/.. etc.) and related to this selection comment background will be colorized. Visitors can be able see only one...
For example, I have a 200*200 image, and I would like to know the color code in position 50, 50. How can I do so ? Thank you. (I am using Objective C and iPhone SDK.) ...
I have created a ListView with TextViews as items - most of which have a certain color as background, but some have a custom @drawable/shape as background (i.e. the top and bottom items, which have rounded corners). These backgrounds are set as part of state-lists, to provide another background color when the items are tapped. The listSe...
Preamble As a part of a project I'm working on I am trying to provide a convenient way to search for images in our system. We currently provide searching by various types of user added metadata (e.g. title, description, keywords) and by various metadata which we extract (e.g. EXIF, IPTC, XMP, etc). I would also like to add a "colour s...
What is the best way to choose colors for LoB app, i need to style TreeView, dropdown's, textboxes and a pivot grid, so i need a bunch of colors, tried Kuler but it gives only 6 colors. So the question is how to do it without designer? ...
So I am trying to create an effect similar to Sin City or other movies where they remove all colors except one from an image. I have an RGB image which I want to convert to grayscale but I want to keep one color. This is my picture: I want to keep the red color. The rest should be grayscale. This is what my code outputs so far (yo...
Hi I am trying to change an individual item in a listCtrl in erlang. I initialize listCtrl then I goto set the item as follows: wxListCtrl:setItem(ListCtrl, Row, 1, io_lib:format("~.2f",[VolumeB + 0.00 ])), wxListCtrl:setItemBackgroundColour(ListCtrl, 1, ?wxRED), Problem is the background color of the entire row is red, I only w...