On Oct 30, 5:15 pm, skink <psk...@gmail.com> wrote:
> On Oct 30, 12:36 pm, Mihai Fonoage <fonoag...@gmail.com> wrote:
>
>
>
>
>
> > Any help on this issue is greatly appreciated.
>
> > Mihai Fonoage
>
> > On Oct 29, 3:44 pm, Mihai Fonoage <fonoag...@gmail.com> wrote:
>
> > > Hello everyone,
>
> > > I have two views, one of which is a Chronometer. Whenever the
> > > Chronometer gets updated (every second, automatically, after its start
> > > () method has been called), the onDraw method of my second view is
> > > called. Any way I can stop this from happening?
>
> > > Thank you!
>
> > > Mihai Fonoage
>
> hi,
>
> my guess is that Chronometer when updated can change its size causing
> parent ViewGroup to re-leyout its children and as a consequence to
> draw all children
>
> pskink

i checked that Chronometer is a TextView so it could be the case.

try for testing purposes set both layout_width/layout_height to
'fill_parent'






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to