TextView.onSaveInstanceState() saves details about the TextView into a
Bundle that is passed between the two Launcher instances when
orientation is changed. By default, those values are keyed off
View.getId(). This means if your id's collide with those of another
widget, your views may overwrite
Hi Jeff,
I add setting android:saveEnabled=false for all the views in
the widget, then widget works well. Thanks for your kindly help. But I
don't know why this setting can fix the problem, could you please
explain to me?
On Nov 3, 6:01 am, Jeff Sharkey jshar...@android.com wrote:
For the
For the views that have ids, try setting android:saveEnabled=false
so that they don't bundle up their state.
j
On Sat, Oct 31, 2009 at 8:00 PM, NewPa shiji...@gmail.com wrote:
Hi String,
I use static var, i will test it.
Hi Jeff,
Here is my layout file content. it seems will cause
Hi String,
I use static var, i will test it.
Hi Jeff,
Here is my layout file content. it seems will cause confliction
with others:
Thanks for your kindly help.
?xml version=1.0 encoding=UTF-8?
LinearLayout android:id=@+id/LinearLayout01
android:layout_width=72dp
There can be issues if the android:id's in your layouts conflict with
other widgets. This was fixed in Eclair by having Launcher create
separate SparseArray jails for each widget to store their state
into. It's change 09ddc08b... to be specific.
Could you post your layout file, or describe how
Yeap. My users reported this to me today. The OTA release has the same
bug. They should push a fixed update right now.
On 10月28日, 下午1时58分, drasticp drast...@gmail.com wrote:
I'm seeing the same issue. I've even tried commenting out all of the
onUpdate code and the widget still crashes aCore.
On Oct 29, 6:51 am, Eong eong.c...@gmail.com wrote:
Yeap. My users reported this to me today. The OTA release has the same
bug. They should push a fixed update right now.
FWIW, I'm not convinced it's a bug in Donut. I'm not seeing the same
issue in my widgets, and I do plenty in onUpdate. If
I'm seeing the same issue. I've even tried commenting out all of the
onUpdate code and the widget still crashes aCore. This problem only
seems to occur with 1.6. Any ideas? Anyone else having the same issue?
--~--~-~--~~~---~--~~
You received this message because
8 matches
Mail list logo