Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Changing views

I have two Views.
I have a root View.
I added the two views to the root view.

I made two methods that ShowViewOne() or ShowViewTwo(). Each method sets the other View to visible: false.

This works.

The app loads View One first. If I press a button it loads View Two. The problem is that View Two is visible below where View One was. Visible property is leaving empty space - why is this?

It hides view one but view two shows up 400px below the top of the phone screen!

— asked November 5th 2010 by Chris Gillis
  • android
  • mobile
  • views
  • visible
1 Comment
  • You will need to paste your code. gist at github is good for this.

    — commented November 5th 2010 by Paul Dowsett

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.