Friend’s
I need help on loading the content alone in my page without going to new page when i selected the scroll menu.
**> I have an
1. header layout and 2. framelayout in another xml file have declared Listview and italso have tabhost
**and also have gallery view for scroll menu.
3. content list in another xml file.****
when i selected the scroll menu i need to load the list content alone in that activity i suppose not to load whole header and and redeclare tabhost in next that scroll menu selected activity.
Thanks in advance.
I achieved this effect by having everything defined in a single xml file with multiple
TableLayoutviews stacked on top of each other within aMergeview. In order to “load” a view, I change itsAndroid:visibilitytag from"gone"to"visible". Since you want your second view to not obscure the header, you can put a buffer (margin or padding) that offsets it from the top of the screen. The background color of this topTableLayoutwould have to beandroid:background="#00000000"so that the alpha channel is zero and it is transparent.If anyone else has a more elegant approach, I would be interested to know as well, but this suites me just fine. The only downside I see is an extra large XML file.