GoslingAllenLee / mobyfactory-uiwidgets-android

Automatically exported from code.google.com/p/mobyfactory-uiwidgets-android
0 stars 0 forks source link

Problem in child ActivityGroup #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I had a problem in ActivityGroup... This problem arises when I use Scrolllable 
Tabhost... when I use TabHost, everything went smoothly...

problem in childActivity... when I press back in childActivity, did not return 
to mainActivity... but out of the application, just like when pressing back in 
mainActivity...

if you have a solution for my problem?

Regards, Vootsugu

Original issue reported on code.google.com by Voots...@gmail.com on 30 Mar 2011 at 11:03

GoogleCodeExporter commented 8 years ago
I had a similar issue which was solved by adding the following lines to the end 
of ScrollableTabActivity.startGroupActivity():

view.setVisibility(View.VISIBLE);
view.setFocusableInTouchMode(true);
((ViewGroup) view).setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
view.requestFocus();

Original comment by tmeie...@gmail.com on 4 Jul 2011 at 9:50