Go Back   Android Forums > Android Discussion > Android Applications
Android Applications All the information you could ever want about Android Applications. Learn about apps and get help with them... all here! New apps can be found and announced in the Applications Announcements forum linked below.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old January 9th, 2012, 05:45 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Tab Layout Landscape problem

I'm creating an app that has a tab layout style. I got it working fine vertically, and got the tab menu to work horizontally, but none of my pages appear when it's horizontal.

There is an activity for each page and an activity for tab layout. Each page has a layout-land file which displays fine in the graphical interface, but when I load the app up and change the orientation, none of my landscape pages display.

Edit: Added information, it seems everyone on the Initial Activity work, even the pop-up menu I have just added. It seems that it is purely the other views inside the TabHost framelayout that arn't displaying in landscape.

RossTiger is offline  
Last edited by RossTiger; January 10th, 2012 at 07:00 AM. Reason: Additional Information
Reply With Quote
sponsored links
Old January 10th, 2012, 11:11 AM   #2 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Fixed!

One of those hit your head against the wall because of how stupid you are moments.

I noticed on another page that was accidentally set to android: orientation="horizontal" that I could only have one textview per page as it push the other one right.

All my alternate landscape layouts had android: orientation="horizontal" and I believe what happens is the tab layout took up the main screen and it push the other page view off to the right -.-

Needless to say, after changing them all back to "vertical" everything worked fine.....now bring me a brick wall!
RossTiger is offline  
Reply With Quote
Reply
Tags
layout, tab, tab layout


Go Back   Android Forums > Android Discussion > Android Applications
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:49 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.