Ok I was making a stupid mistake and not calling new before I set the floats in the array, so my forceclose is fixed, however it doesn't matter what numbers I put the in the array the gradient always looks the same. How can I give the inner color more weight? Thanks! Nathan
On Jan 15, 3:25 am, schwiz <sch...@gmail.com> wrote: > I am having problems with the constructor RadialGradient (float x, > float y, float radius, int[] colors, float[] positions, > Shader.TileMode tile) If I don't pass null into positions I get a > force close the logcat spits out a bunch of stuff about frame layout. > So my question is what exactly do they mean when they say positions is > the relative of each color in the array. The end result I want is for > the inner color to have more weight than the outer color. > Thanks for your time! > Nathan
-- 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