Hi,

Did you try to call View.invalidate?

On Wed, Feb 9, 2011 at 9:02 AM, vivin joy <[email protected]> wrote:

> Hi All,
>       i have an Activity called MainActivity. It has a custom view on
> it and a button. When i press a button, it opens a new Activity with a
> translucent theme so that MainActiivty is paused. The Second Activity
> has got a EditText. and i type something over there and press a button
> which closes the second activity and it returns back to MainActivity.
> When we return back to MainActivity, i need to redraw the custom view
> depending on what i typed in the second Activity. but it doesn't get
> re-drawn immediately after i have returned. It gets re-drawn only
> after i touch the custom view. How do i make a custom view re-draw
> immediately when i return to an activity? plz people help me with
> this.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Adriano Godinho

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

Reply via email to