[android-developers] Re: Layout animation, clipping to parent

2009-11-10 Thread RalphLeon
Worked like a charm, the trick was setting setClipChildren to the layout that enclosed the galleries. On Nov 8, 10:40 am, Romain Guy wrote: > Call setClipChildren() on both the gallery and its parent. > > > > > > On Sun, Nov 8, 2009 at 10:05 AM, RalphLeon wrote: > > A

[android-developers] Re: Layout animation, clipping to parent

2009-11-08 Thread RalphLeon
Anyone? This seems to be the case with all layout animations, not just Gallery's. On Oct 29, 10:54 am, RalphLeon wrote: > So, if you have a layout animation attached to a gallery with the > views coming from _outside_ of the parent (a translation animation): > how do we get the v

[android-developers] Layout animation, clipping to parent

2009-10-29 Thread RalphLeon
So, if you have a layout animation attached to a gallery with the views coming from _outside_ of the parent (a translation animation): how do we get the views to not be clipped to the gallery? At first guess: Gallery.setClipChildren(false); seems like it should work, but the animations are

[android-developers] Sampling points along a path

2009-10-29 Thread RalphLeon
In my application I use cubic bezier curves to position images in a pattern. I just noticed that Path has a nice "cubicTo" method, that can construct the same shape that I manually sample. However, I need to be able to extract the X,Y positions along the path... is there anyway to access these po

[android-developers] Default Sound Resources

2009-08-30 Thread RalphLeon
Hello! I have a timer application and I was hoping to add the default sound resources that are available on the device, a la android.R.drawable.* Are these resources available in any default location? Or shall I just compile my own set of royalty-free sounds? Cheers, Ralph --~--~-~--~-

[android-developers] Passing a Service a Handler

2009-08-10 Thread RalphLeon
So, I've read the android AIDL documentation and have a general idea of how RPC works between an Activity and a Service. However, for my application it seems overboard to implement such features: basically, I want to pass a Service a nice handler so its thread can pass data to my Activity. Current