[android-developers] Re: SQLite Pre-populated Database

2009-04-10 Thread fg1921
Thanks Mark None of these options work (apart from the downloading one). It's not really easy/possible to split the DB up in any sensible form nor can we spend 10 minutes constructing it at start up. The app we're working on is expected to have more than a thousand downloads a day, and all that

[android-developers] SQLite Pre-populated Database

2009-04-10 Thread fg1921
I must say I am surprised no one at google thinks it's important to provide a better way of including a pre-populated database into a package. I've spent 10 hours trying to get a 3.5MB database working with my APK and have given up. This is what I tried, and would appreciate if someone has a solut

[android-developers] Re: Animation on a view doesn't 'stick' in reality

2009-04-09 Thread fg1921
Okay I've figured it out. I would personally consider this a bug but not sure if this is how it's meant to be. Basically in onAnimationEnd I had to loop over all children inside the viewgroup (and children of children) and set their visibility to GONE/ INVISIBLE and the buttons stopped getting to

[android-developers] Re: Animation on a view doesn't 'stick' in reality

2009-04-09 Thread fg1921
> > myView.startAnimation(myAnimation); > myView.setVisibility(View.INVISIBLE); // or GONE > > Android will hide the View and run the animation but still draw the > View as long as the animation is running. Thanks Romain - I did this (and the completion listener) neither of these work. Basically

[android-developers] Animation on a view doesn't 'stick' in reality

2009-04-09 Thread fg1921
Hi I'm using a TranslateAnimation to slide a ViewGroup in and out of screen. However after the animation slides the view out, the transparent view is still 'clickable' in the same place. I used setFillAfter to TRUE thinking that the animation would 'stick' but I can't seem to get the view out of

[android-developers] Re: ListView row not receiving highlight with ImageButton in row

2009-04-09 Thread fg1921
Ok I can see setting it to non-focusable 'solves' the problem but that's not really what I was hoping to do. Well, too bad, the user can't focus but only tap now. On Apr 9, 9:21 pm, fg1921 wrote: > Hi > > This must be something very simple but I've tried almos

[android-developers] ListView row not receiving highlight with ImageButton in row

2009-04-09 Thread fg1921
Hi This must be something very simple but I've tried almost everything and still can't get this to work. Basically I've made a custom LinearLayout view with a TextView and an ImageButton to be used as a row for a ListView. The moment I use an ImageButton tapping on the row does not highlight the