[android-developers] Re: Animation startOffset failing, 2.1 bug?

2010-10-26 Thread Cardy
If anyone else encounters this problem, there is a work around here: http://stackoverflow.com/questions/4014331/android-animation-startoffset-broken-or-buggy On Oct 25, 1:00 pm, Cardy wrote: > Anyone? No-one can relate to this, or even try to see if they get the > same results? >

[android-developers] Re: Animation startOffset failing, 2.1 bug?

2010-10-25 Thread Cardy
Anyone? No-one can relate to this, or even try to see if they get the same results? Please! Andy. On Oct 25, 9:23 am, Cardy wrote: > Hi, > > I've taken some animation xml straight from the android docs, and as > far as I can see, doesn't work on either my 2.1 update

[android-developers] Animation startOffset failing, 2.1 bug?

2010-10-25 Thread Cardy
Hi, I've taken some animation xml straight from the android docs, and as far as I can see, doesn't work on either my 2.1 update 1 emulator or my 2.1 update 1 Galaxy S device. Specifically, I'm trying to create an animation to pulsate a view (i.e. make it smaller then larger in one animation) Thi

[android-developers] Re: VideoView not playing sample video on T-Mobile G2 (Just audio)

2010-07-02 Thread Cardy
-just-audio/ On Jul 2, 11:42 am, Cardy wrote: > Hi, > > All I'm trying to do is play the first video retrieved from the > external SD card, which on my T-Mobile G2 turns out to be the sample > video for the phone. > > Now I assumed that since it plays in the phones video p

[android-developers] VideoView not playing sample video on T-Mobile G2 (Just audio)

2010-07-02 Thread Cardy
Hi, All I'm trying to do is play the first video retrieved from the external SD card, which on my T-Mobile G2 turns out to be the sample video for the phone. Now I assumed that since it plays in the phones video player, that it'd have no problems with playing in the VideoView in my test app. How

[android-developers] Re: Drawable not maintaining size within an ImageView

2010-06-30 Thread Cardy
Sorry! Just to clarify, I've also tried setting the ImageView's layout params as per the example using: drawableContainer.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); Thanks! On Jun 30, 10:04 am, Cardy wrote: > Hi, > > I'm try

[android-developers] Drawable not maintaining size within an ImageView

2010-06-30 Thread Cardy
Hi, I'm trying to add a drawable to a layout, using an ImageView, but the drawable doesn't maintain its size and is rendered at 1dp x 1dp. I've called ImageView.setAdjustViewBounds as per the android documentation but this doesn't seem to help. The Drawable is only visible when the ImageView's he

[android-developers] Orientation sensor problem.

2010-06-01 Thread Cardy
Hi all! I've been trying to get a simple test app working to show me the orientation of the phone. The code I've used is below: public class Main extends Activity implements SensorEventListener { SensorEventListener listener; TextView mainText; SensorManager sensorMan;