I call the setActivity function by click a button when activity is running.
On 12月30日, 下午6時03分, magic <[email protected]> wrote: > Hallo everyone, > Here is a problem i have: > I am wondering how to refresh the view after I set the "visibility" of > some view to be GONE. > ====layout======== > Parent:_linearView > child:_tableView > child:_someView > ================ > After I "GONE" the "_tableView", the "_tableView" should be no more > taking space in the _linearView and the position of "_someView" will > raise up. > However, the layout doesn't refresh even i have called "invlidate(), > or, postInvlidate()" until i doing something else then back (e.g. call > a keyboard). > > =====code========= > public Button.OnClickListener bStop = new Button.OnClickListener() { > public void onClick(View v) { > _tableView.setVisibility(View.GONE);} > > ================= > > Is there anyone and help me to solve the problem~~><'" > Thank you very much! -- 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

