Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
behrk2
Posts: 367
Registered: ‎11-25-2009
My Device: Not Specified

Scrolling leaves visible trail over gradient background

Hello everyone,

 

I have a MainScreen where I set the main VerticalFieldManager to have a gradient background:

 

 

Background bg = BackgroundFactory.createLinearGradientBackground(
				0x00EF3825, Color.BLACK, 0x00EF3825, Color.BLACK);
		vfmBackground = (VerticalFieldManager) screen.getMainManager();
		vfmBackground.setBackground(bg);

 

 

I have a TableLayoutManager on top of the VerticalFieldManager which contains buttons. When I scroll downward from one button to the next, a visible "scroll trail" is shown. This only happens for the first three or four buttons. As soon as I scroll back up and do it again, there is no visible trail.

 

I have attached a screenshot so you can see what I'm talking about. Is there anyway to fix this?

 

1780iAF858A20A899D3D0

 

Thanks!

Please use plain text.
Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.634 Dev OS, Z30 (STA100-5)-10.3.1.634 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: Scrolling leaves visible trail over gradient background

I've seen that on RIM's applications too. I don't know of a way to fix it, sorry.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.