[android-developers] How to avoid window background to be redrawn ?

2012-02-09 Thread Isambert
Hi ! I have implemented a custom view which behaves like a Spingboard (I have pages of icons scrolling). It works really good in smartphones. But now I am developping a tablet version and I have noticed a severe performance drop when scrolling. After investigation, it turns out that drawBitmap

[android-developers] Re: ProgressBar in ActionBar

2011-09-27 Thread Isambert
I have achieved half of the job. I am using MenuItem.setActionView to have my progressDialog. But how to remove it next and go back to my regular button ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] ProgressBar in ActionBar

2011-09-27 Thread Isambert
Hi ! I would like to implement something similar as what is present in Gmail's ActionBar on Honeycomb. I mean, when you click on the refresh button it shows a indeterminate progressdialog instead of the button. I haven't found any way to achieve this yet. And I can't use the customView as I alr

[android-developers] Fill a LinearLayout with an ArrayAdapter

2011-09-12 Thread Isambert
Hi ! As I my LinearLayout will contain an undefined number of childs, I need to fill it dynamically. So as to ease this, I would like to use an ArrayAdapter. What is the best way to achieve so ? Extending AdapterView ? If so, will I need to write the positionItems() methods or can I say that I