HI,

I am using a TableLayout in my activity but because of some reason it is
getting Invalidated (columns of table layout are falling towards one side of
the screen) and I have to call table.requestlayout()
to make it look fine again and again.

I found a scenario in which my TableLayout is getting invalidated,
scenario::

Let A is a activity with a tablelayout (with 3 columns and 3 rows) which
support only portrait mode.
And B is a activity which support portrait and landscape mode and can be
called from A only.

Steps to reproduce ::
1. Run the activity A whose default orientation is Portrait.
2. Change the orientation of the activity A to landscape mode.
3. Go to activity B from activity A.
4. Change the orientation of activity B from landscape to portrait.
5. Go back to activity A by just finishing the activity B.
6. Activity A will be opened in Portrait mode and the columns of the Table
will get fell on the right side of the screen (i.e the space between the
columns is getting removed).

Has anybody faced the same problem, please suggest a solution.

Any help would be appreciable.

Regards,
Astegic

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to