views:

165

answers:

0

Hi, I have made a layout with RelativeLayout. The layout includes quite a number of other elements, from a couple of TableLayouts to several ImageButtons... The RelativeLayout itself has the following parameters :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bgimage">

Now I noticed that sometimes (mostly when coming out of the screensaver-mode, as in coming out of the black screen) the whole screen would be drawn as if it has moved like 50 pixels downwards, leaving a black space of 50 pixels on top... When I move my trackball (device is an ADP2, Google Ion) up and down the layout will move up and down as well, as if it's somehow scrollable... After loading another Actvity and getting back to the original one this behabiour will have corrected itself...

Does anyone have experienced something like this ? And how can this be solved ? Thanks in advance for any help/tips/pointers !