Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User priteshgajjar's Avatar
    Join Date
    Aug 2008
    Posts
    44
    I want to create list items with images. I am able to display items with one string and one image using list(stringpart,imagepart)...

    I want multiple images to display for single string item . (something like list(string,images[]))

    I tried to combine two images in one .png . But it doesn't looks good.

    Any solution?

  2. #2
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi priteshgajjar,

    there is no way to use more than 1 image per item in a Java ME List. Only available workaround is the one you've described: combine more images into a single Image instance.

    As an alternative, you could try using a Form and extending CustomItem to create items with the look-and-feel you want.

    Pit

  3. #3
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    custom item seems like the best option here like jappit says...
    another option would be to make ur own list implementation in canvas (which is also somewhat the case with a custom Item)...
    just keep in mind when using images in ur lists that every device supports different sizes, so what looks good on one device (as image in a list) might be cropped or cut on another device !

Similar Threads

  1. List box selected item
    By vickey in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-03-07, 12:38
  2. How to dim a list box item
    By Deepa msc in forum Symbian C++
    Replies: 2
    Last Post: 2008-01-28, 07:24
  3. how can i find the highlighted item in a multiple list?
    By xarris_ in forum Mobile Java General
    Replies: 3
    Last Post: 2007-06-16, 17:40
  4. Duplicate Item In List Display
    By jaceline in forum Personal Profile
    Replies: 2
    Last Post: 2006-06-06, 02:06
  5. List box dispalys only one item!!
    By Nokia_Archive in forum Symbian User Interface
    Replies: 3
    Last Post: 2002-09-11, 13:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved