Add a picture as the background for a list of cells

Hi guys,.

I create sort of shelf with TileList, but I succumbed with a picture of white paper as a backdrop for the cells.

I tried

this.addChildAt(this.bg,0), but it is not displayed as background and when I try

this.addChild (this.bg) then the label becomes hidden behind the image.

So please suggest me to implement this correctly.

Thanks in advance.

Hi guys,.

I fixed that by following

override protected function init (): void
{
Super.init ();
This.BG = New Image;
this.bg.setImage("assets/book.png");
this.addChild (this.bg);
this.setChildIndex(this.label,this.numChildren-1);
}

But now the question is how to create tablet that would be visible to padding?

Tags: BlackBerry Developers

Similar Questions

  • Under Xp, under the paper painted office, where are the pictures actually stored... I want to add a picture to the file in order to make my wallpaper... It seems that some are stored on the c: Windows and some in C:Window/Web/Wallpaper...which is right

    Under Xp, under the paper painted office, where are the pictures actually stored... I want to add a picture to the file in order to make my wallpaper... It seems that some are stored on the c: Windows and some in C:Window/Web/Wallpaper...which is right

    Under Xp, under the paper painted office, where are the pictures actually stored... I want to add a picture to the file in order to make my wallpaper... It seems that some are stored on the c: Windows and some in C:Window/Web/Wallpaper...which is right

    ===================================
    Simply open the photo that you want to use as wallpaper and
    choose... Set as wallpaper... from the menu.

    If you want to physically add the photo in the folder then
    It can be seen in the background list... Add to the
    following folder: C:Window/Web/wallpaper

    FWIW... If there are fewer than 100 pictures in your my
    Folder of photos... you can see in the background list. John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Can I add a picture in the in-browser-edition?

    I want to add a picture to the slide miniature show. Is this possible in the inbrowserediting? Or it is only available for the file of muse?

    Adding new images to the slide show is possible inside the Muse from Adobe. This feature is now available via in browser edition. However, you can replace the existing images via in browser edition.

    Thank you

    Vikas

  • Can I use pictures from the reserve for commercial use for my members to do with.  We would not sell the photos but the use for commercial use.

    Can I use pictures from the reserve for commercial use for my members to do with.  We would not sell the photos but the use for commercial use. (the 29.99 price months?)

    Thank you.

    Barbara

    In your case you will very likely get extended licenses for images from Fotolia.com otherwise you would have to buy a new license for each Member who has access to use the weather picture they actually use it or not...

  • Run in the background for more than 3 minutes?

    Hello

    My application is a timer-app. It works very well for 3 minutes in the background. If I put it on five minutes, it doesn't work (in the background) for 3 minutes, then it stops. (it continues when I open the app again).

    In my view, there is a 'window' of 10 minutes before, but now it's only 3? Is it possible to use beginBackgroundTaskWithExpirationHandler or something like that to ask for more time?

    Apple allows only long substantive events for certain types of applications, for example background audio apps, as you have noticed.

    This kind of situation would be better served with a local notification.

  • change the background color of specific table cell

    Hello

    I'm trying to highlight the cell when the max value occurs in the attached VI.

    In addition, as it is a secondary function, possible to change the background color of this specific cell?

    Thank you

    hiNi

    This?

  • How to defragment the drive d error: some files on this volume could not be defragmented. Please see the report for a list of these files defragmentation.

    Original title: how to defragment the d drive

    Defragmentation is complete for: (c :)) some files on this volume could not be defragmented. Please see the report for a list of these files defragmentation.   I solve this problem with pagedefrag but same problem with the D: drive. What can I do? is a D: disk defragmentation program at system startup? Please help me :(

    Its a simple but problem ongoing with the pagefile... The hd is in use & cannot defragment parts of it

    because of this, use to defrag times. To fix the files fragmented on any hard drive, open the system

    Properties, performance, advance, the page file, change the button, select the hd, press "no paging file" value

    Enter 2 X, close, restart the pc. Once in xp, open cmd, type: CLEANMGR then select the hd,

    type: Defrag D: D: being fragmented, once through, hd output cmd, return to system properties, set

    the swap file for hd to "let the system manage", click 2 x game, close, you get a couple of windows

    saying: 'replace the file' say Yes close... Sometimes you have to try several, but you will succeed...

  • In MS SQL Server Management Studio, cannot add a port to the Windows Firewall exceptions list.

    I am trying to debug a sql script in the debugger to MS SQL Server 2008 and I received a message saying 'could not configure the Windows Firewall. Cannot add a port to the Windows Firewall exceptions list. "Use the Panle controls to manually configure Windows Firewall.

    Hi GusGomez,

    The question you have posted is related to the server and would be better suited in the Technet forums. Please visit the link below to find a community that will support what ask you
     
    Hope this information helps.
  • Add a picture to the text in the text box to the location of the cursor through Actionscript and control its reference level

    If I want to add pictures to the location of the cursor in the text box, I need to use EditManager insertInlineGraphic. But insertInlineGraphic offers no parameter to control how an image is placed in the text, such as baselineShift.
    While InlineGraphicElement allows me to well control on image added how is placed in the text through properties such as baselineShift, but then there is no way to add this InlineGraphicElement object newly created as the location of the cursor in the text box!
    So, how do you overcome this limitation? How can I add an image to the text in the text box to the location of the cursor through Actionscript and control its reference level?

    Post edited by: DilipShah

    After you add the ILG, you can find the ILG element by textFlow.findLeaf (cursor location) as InlineGraphicElement and then change its attributes. Or you can just enjoy applyLeafFormat().

    FindLeaf is an important function for navigation in the TLF.

  • Add a picture to the card

    Hello world

    What I want to do... Access the blackberry maps and add an image to the specified location users if the user is not

    Specify the location, then search for the current location of the client and add the image to these coordinates.

    If you take a look at the following link, I would like to the mapview to be exactly the same...

    http://StackOverflow.com/questions/1524428/how-to-show-our-own-icon-in-BlackBerry-map

    because now I'm not worried about the details of the address, the user supplies and adding in the image to those coordinates, at the moment if I can get "find my position" function work correctly with the addition of the image to the correct coordinates it be very happy.

    What my code is trying to do is to add two cards... map that looks like the one in the following link:

    http://StackOverflow.com/questions/1524428/how-to-show-our-own-icon-in-BlackBerry-map

    But has no image, then when you click on back that another card displayed, i.e. zoom out to the extent that needs to be look at a country with the icon to appear.

    My Codescreen)

    LAT = qualifiedCoordinates.getLatitude ();
    LNG = qualifiedCoordinates.getLongitude ();

    latString = Double.toString (lat);

    lngstring = Double.toString (lng);
    String Test2 =". » ;
    String Test3 ="";
    FinalSringLatetude = replace (latString, Test2, Test3);
    FinalSringLongdetude = replace (lngstring, Test2, Test3);
    intLat = Integer.valueOf (FinalSringLatetude) .intValue ();
    iintLng = Integer.valueOf (FinalSringLongdetude) .intValue ();

    mCoordinates = new coordinated (doublelat, doublelon, 0);
    mMapField = new CustomMapField();
    mMapField.mIcon = Bitmap.getBitmapResource ("coin_silver.png");
    mMapField.moveTo (mCoordinates);
    MapView mapView = new MapView();
    mapView.setLatitude (intLat);
    mapView.setLongitude (iintLng);
    mapView.setZoom (10);
    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments (mapView));

    Add (mMapField);

    (custom MapField class)

    MIcon bitmap;
    XYRect mDest;

    {} public void moveTo (coordinates coordinates)
    super.moveTo (coordinates);
    mDest = null;
    }

    protected void paint (Graphics graphics) {}
    Super.Paint (Graphics);
    If (null! = mIcon) {}
    If (null == mDest) {}
    XYPoint fieldOut = new XYPoint();
    convertWorldToField (getCoordinates (), fieldOut);
    imgW int = mIcon.getWidth ();
    imgH int = mIcon.getHeight ();
    mDest = new XYRect (fieldOut.x - imgW/2,
    fieldOut.y - imgH, imgW, imgH);
    }
    graphics.drawBitmap (mDest, mIcon, 0, 0);
    }
    }
    }

    Thank you guys!

    mMapField.setZoom (6).

    A did the trick

  • How to add a dependency to the library for the java service modules?

    Hello

    I try to add Google gson jar as a dependency of the sample of chassis (/ chassisRackVSphere-service) and I'm facing some problems with the installation of osgi.

    ////////////////////////////////////////////////////////////////////////////////////////

    Report of resolver:

    A Package Import could not be resolved. Resolver error data < Import-Package: com.google.gson; version = "0.0.0" >. Caused by the constraint missing bundled < com.vmware.samples.chassisrackvsphereservice_1.0.0 >

    constraint: Import-Package: com.google.gson; version = "0.0.0" >

    at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)

    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)

    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)

    ////////////////////////////////////////////////////////////////////////////////////////

    Here are the things I did based on the addition of the gson - 2.2.4.jar to the list of libraries (which I'll use my service module).

    1 added gson - 2.2.4.jar to chassisRackVSphere-service\lib

    2. added gson - 2.2.4.jar to the list of libraries referenced in STS.

    3. fixed the ANT build file to add this jar to the classpath

    < target name = "java-compilation" depends = "clean" description = "do not select objective in-house." >

    < javac includeantruntime = 'false' destdir = fork "${CLASSES}" = "true" debug = "on" >

    < path src = "${basedir} / src/main/java" / >

    <!-< path src = "${basedir} / src/test/java" / > for future test-> files

    < classpath >

    <! - remove this if you are not using the SDK with java - >

    < pathelement path="${VSPHERE_SDK_HOME}/libs/vsphere-client-lib.jar"/ >

    < pathelement path="lib/commons-logging-1.1.1.jar"/ >

    < pathelement path="lib/gson-2.2.4.jar"/ >

    < / classpath >

    < / javac >

    < / target >

    4. fixed the manifest file to include the package gson

    /////////////////////////////////////////////////////////////////////////////////////////

    Import-Package: org.apache.commons.logging,.

    com.google.Gson,

    com VMware.vise.Data,

    com VMware.vise.Data.Query,

    com VMware.vise.Data.Uri,

    com VMware.vise.vim.Data

    /////////////////////////////////////////////////////////////////////////////////////////

    I don't know what I'm missing. How can I add third-party libraries for the service module (in this case chassisRackVSphere-service)? Any help is appreciated.

    Thank you

    Shankar

    You forgot a step described in the FAQ ""How to use 3rd party java libraries?', that is to make your available on the server gson library. "  An excerpt from the FAQ:

    Formatted as OSGI bundles libraries should be in a known location on the server:

    • In development mode you can copy in Server/repository/usr, one of the default directories for the loading of libraries (you must restart the server).
    • If the server is already running you can copy also in Server/Pick-up because the beams will be deployed hot (i.e. without having to restart, but this requires you to deploy your plugin after the library, see Note 2 below).
    • Finally, you can keep in their current location and add a path in server/configuration/com.springsource.repository.properties.
    • In production mode , that your plugin is installed as a plugin package, it is neither practical nor recommended to add libraries to server/Pick-up or Server/repository/usr on your production server. Instead you must include them in the directory plugins of your package and your .war and .jar packages. You will also need to list Bundle-SymbolicName of plugin libraries - package.xml.
  • How can I add a picture in the survey generator?

    I'm currently building a survey in survey Builder where the images are part of the questions and/or answers.  No idea how I could do this?  I'm a newbie to the APEX.

    Thank you

    Sara

    Generator of the investigation has no support for images in questions or answers. You can not put the tag in question or answer text.

    However, you can put markup in messages for the introduction of the article. So if an article which introduced a group of questions has an image in it questions can refer to the image. Survey Builder does not handle the images for you, so that they should be accessible by a URL that the survey questionnaire has access to (which means that if the investigation is public images should not be behind a firewall or require authentication for access to).

    Create a section for each image you want to ask questions on. Add an image tag in the introductory message. For example, an article's introductory message could be:

    The next questions relate to the following image:

    Then add questions to each section on the image.

  • The most effective method to add Gaussian blur to the background of the Interview with two people

    I have MXF clips of an interview with two people with a décor of forest behind the two subjects. I want to add a Gaussian blur on the bottom between the two people who are sitting and separated by about 6 inches. I'd be able to do this now in 2014 PR, except track masks do not work as there seems to be a bug. I've never used AE and Mocha looks like a tracking method possible. The manual speaks using a compressed JPG of sequence, then use your original film when you apply the data. This sounds like the way to go, but I do not know how to apply the data originally from the film. I know how to apply a blur and a simple mask followed in AE, but it does not follow the outline of the person and blurs the second person. If followed PR mask worked, I duplicate the layer and add a mask of garbage that would cut off the other person in each of the two layers.

    I intend to learn AE, but has a deadline this week to get this infomercial delivered to the customer. Thus, detailed instructions would be greatly appreciated.

    Thank you, Rob

    According to your film, the Roto Brush tool can be a good choice to separate people from the background.

  • Can I make an app that records the speed of the gps in the background for iOS and android?

    So is this possible? and how? the runtime behavior accuracy and background can be exactly the same as a native application?
    Thank you

    AIR apps can perform actions in the background, subject to availability of memory and behavior of the operating system.

    You can use the standard GeoLocation APIs.

    For iOS, I ask you through this

    http://help.Adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html where it tells how you can listen to geolocation in the background

  • Objects appearing in the background for new blank slides?

    Hi all

    I am currently working on a project of creation of training courses for staff on Adobe® Captivate® 5. On the last lesson of training, I was working, the creation of empty slide seems to be defective. Whenever I try to insert a blank slide, it is with the other slides objects stuck in the background. I can't manually select or remove objects. Thinking it could be something to do with Master slides, I took a peek at it too and the available Master slides are all empty themselves, with no items. Even spend the slides with a malfunction to a slide master setting does nothing for the appearance of these objects on my empty slides. Any ideas of what could be the cause?

    Thanks in advance

    Most likely the slides containing the objects you see are placed higher in the correct order of the slide?

    Find these slides and check the settings of synchronization for the objects that are appearing in the slides later.  It is possible that these objects were set to appear for the rest of the project rather than the rest of the slide or specific time.

Maybe you are looking for