[android-developers] Re: Custom checkable view

2010-11-08 Thread Marc Poppleton
Ok, problem solved after having looked at the source of the CheckedTextView. I had to override the onCreateDrawableState and drawableStateChanged methods and it now works. On 5 nov, 15:30, Marc Poppleton marc.popple...@gmail.com wrote: Hi there, I'm writing a little custom view which can

[android-developers] Custom checkable view

2010-11-05 Thread Marc Poppleton
Hi there, I'm writing a little custom view which can be in two states : checked, not checked. According to the state it is in, it's background changes. Quite straightforward sort of behavior. My class extends FrameLayout and implements the Checkable interface. In my toogle method I just calls the

[android-developers] DialterFilter, what does this widget do?

2010-06-08 Thread Marc Poppleton
Hi all, Browsing in the API I've stumbled upon the DialerFilter widget. Since I can't find much documentation about how to us it, let alone know what it does, I tried to use it in a little app just to see what comes out. I keep getting a IllegalStateException in the Layout builder about the

[android-developers] Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout, switching it back and forth between two images thus creating a pulsating effect. TransitionDrawable works nicely, butonce. I tried

[android-developers] Re: Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Thanks, I'll see what I can do with a custom Drawable. On 27 avr, 12:53, skink psk...@gmail.com wrote: Marc Poppleton wrote: Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout

[android-developers] Re: Problem Starting New Activity

2009-04-09 Thread Marc Poppleton
Hi, Where is the PHONE_STATE_CHANGED Intent defined? I can't find it anywhere in the documentation and am in a situation similar to Bnet's. I'm trying to get my Activity to pop-up when an incoming call occurs, I don't like the default view and want my own instead (I wish to display extra data