GridView Problem on Reorientation

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

GridView Problem on Reorientation

Postby milkround » Thu Sep 03, 2009 11:30 am

Hi folks,

I have a calendar which is drawn in a GridView so in portrait:-

Image

When I reorient the device to landscape I get a broken image (no calls to getView were recieved)

Image

g=(GridView) findViewById(R.id.Calgrid);
g.setStackFromBottom(false); <<< I tried this to no avail

when I go back to portrait I get another different broken image

Image

Any suggestions??
milkround
Developer
Developer
 
Posts: 34
Joined: Sat May 02, 2009 2:29 pm
Location: UK & Malta

Top

Problem Solved

Postby milkround » Sat Sep 05, 2009 5:17 pm

Hi folks,

It turned out that the views within the gridView were not simple TextView items making them so solved the problem

Steve
milkround
Developer
Developer
 
Posts: 34
Joined: Sat May 02, 2009 2:29 pm
Location: UK & Malta

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests