Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Community Feedback and Ideas

Reply
New Developer
klahnako
Posts: 11
Registered: 09-19-2009

New Layout: Accepted Solution?

The accepted solution is not at all obvious in this new layout.

 

Furthermore, the search results are somehow different.  Not different results, but the formatting is different. Definitly more ugly and verbose:  It appears the source code in posts is showing up in the search result list, and is badly formatted.  Here is an example, notice the lack of formatting (not even newlines), and notice the amount of text is too much for a list of search results.

 

 

Hi,   About the Backgroud image you can try ... import net.rim.device.api.ui.component.*; import net.rim.device.api.ui.container.*; import net.rim.device.api.system.*; public class TestScreen extends MainScreen { private VerticalFieldManager mainManager; private VerticalFieldManager subManager; private Bitmap _backgroundBitmap = Bitmap.get..."sunset.png"); private int deviceWidth = Display.getWidth(); private int deviceHeight = Display.getHeight(... public TestScreen() { super(NO_VERTICAL_SCROLL); //this manager is used for the static bac... mainManager = new VerticalFieldManager(Ma... { public void paint(Graphics graphics) { graphics.clear(); graphics.drawBitmap(0, 0, deviceW... super.paint(graphics); } }; //this manger is used for adding the comp... subManager = new VerticalFieldManager(Man... { protected void sublayout( int maxWidt... { int displayWidth = deviceWidth; int displayHeight = deviceHeight; super.sublayout( displayWidth, di... setExtent( displayWidth, displayH... } }; /// add your component to this subManager... subManager.add(new ButtonField("Button1")); subManager.add(new ButtonField("Button2")); subManager.add(new ButtonField("Button3")); subManager.add(new ButtonField("Button4")); subManager.add(new ButtonField("Button5")); subManager.add(new ButtonField("Button6")); subManager.add(new ButtonField("Button7")); subManager.add(new ButtonField("Button8")); subManager.add(new ButtonField("Button9")); subManager.add(new ButtonField("Button10")); subManager.add(new ButtonField("Button11")); subManager.add(new ButtonField("Button12")); subManager.add(new ButtonField("Button13")); subManager.add(new ButtonField("Button14")); subManager.add(new ButtonField("Button15")); /////////////////////////////////////////... //add subManager over the mainManager mainManager.add(subManager); //finally add the mainManager over the sc... this.add(mainManager); } }     And About setting elements  in X and Y ...&vernum=0       Regards Bikas   

 

 

Please use plain text.
JSanders
Posts: 51,771
Topics: 377
Likes: 16,863
Registered: 04-01-2008
My Carrier: Verizon

Re: New Layout: Accepted Solution?

klannako, thanks for the heads up.

 

We've noticed this in regards to the accepted solution which has been marked not being readily noticeable... if you click on "go to solution" you are taken to the correct post, but it is not notated in any way. It's been reported.

 

On the latter issue... added to the list! Thanks.


1. If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.

Please use plain text.