10-20-2009 05:45 AM
How about now?
10-20-2009 06:02 AM
Same again. ![]()
Regards
Bikas
10-20-2009 07:37 AM
I ve sent u a private message with the link to the photo.. As u can see , that is the screen structure.. The red line is upto which the actual background image comes..
10-20-2009 08:36 AM
Hello,
have you tried not to call the super.paintBackground method as it will fill the manager with white.
10-21-2009 01:02 AM
super.paintbackground () is called with an argument graphics which contains the parameters that mention how the image needs to be displayed . And this call is present only in the mainVeticalManager.. And again just to be clear , the background image does get displayed.Only thing is that it only comes in the mainVerticalManager and not in other managers.
10-21-2009 01:47 AM
10-21-2009 02:48 AM - edited 10-21-2009 03:03 AM
TRY this.
In MyScreen extends MainScreen
MyScreen(ZonamController controller)
{
super(Manager.NO_VERTICAL_SCROLLBAR|Manager.NO_VER
}
public void paint(Graphics gr)
{
gr.drawBitmap(0, 0, gr.getScreenWidth(), gr.getScreenHeight(), BackgrndImg(), 0, 0);
subpaint(gr);
}
P.S. I did not test this.
10-22-2009 02:43 AM
@bikas - I checked those links. The explanation and code samples posted there are similar to the ones given by u in the previous posts here.. And am sorry to say it still doesnt work..
@ aditya_BB - Ur code doesnt work either..
Am almost at the point of giving up.. I could do without a background and am pretty sure my application would work fine.. ![]()
10-22-2009 05:30 AM
I tried similar UI Pattern with Lables.
I can scroll without any prblm.
---
Aditya.
10-23-2009 03:46 AM
I have actually tried removing all managers but the mainVerticalManager and still the backgound image only comes up til a certain point. I cant seem to figure out what could be the problem.. Could the size of the image be of concern?