Tabhost

Put your problem here if it does not fit any of the other categories.

Tabhost

Postby SakVong » Thu Aug 30, 2012 10:09 pm

Hello All,

I'm new to Android Dev. and I'm running into minor problem. I've create a tabhost and then have a subtab under one of the main tab. Under the main tab everything are working just fine but under the subtab my spinners are not working at all. They loaded all data from arraylist just fine when clicking on it the system crash("Force Closed"). Maybe it's not allowing to do this on the second content layer.

Can someone please tell me what I'm doing wrong.
SakVong
Freshman
Freshman
 
Posts: 3
Joined: Thu Aug 30, 2012 9:09 pm

Top

Re: Tabhost

Postby SakVong » Wed Sep 05, 2012 5:46 pm

I've figured it out. Android limit to 10 layer for the screen. One Tabhost consist of four layers, adding subtab that's 8. For the button and textbox are working fine but spinner control failed because it's more than ten layers.
SakVong
Freshman
Freshman
 
Posts: 3
Joined: Thu Aug 30, 2012 9:09 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 23 guests