Are you saying that your MainActivity.onResume() nor your
MainActivity.onActivityResult() is not being called?  I would think
both should be happening here, and the translucent visual effect is
irrelevant.  See the activity lifecycle documentation.

On Feb 9, 6:02 am, vivin joy <joy.viv...@gmail.com> 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 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