×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    280

    How to remove title of dialog and how to apply backround colour on it

    I am working on s40 app using s40 with themes jar file. Using lwuit form.
    How to remove title of dialogue box and how to change the background colour of dialogue box.

    Also i want to ask can we apply animations on dialogue as i hav craeted animation using 10 images and i want to show it on a dialogue.
    Plz help

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: How to remove title of dialog and how to apply backround colour on it

    Note that LWUIT is open source. While https://projects.developer.nokia.com...it/Dialog.java is probably not a current version, it contains some indications about hiding the title: showModal (line 1117), showPopupDialog (line 1138) and showPacked (line 1289) all have a piece of code check for empty title text and if hideEmptyTitleBool is set in the theme. These are some clues you can start experiment with, trying to set an empty title text should be rather straightforward.

  3. #3
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: How to remove title of dialog and how to apply backround colour on it

    You can get the style object of the dialog and change the background colour

    Code:
    Dialog d = new Dialog();
    d.getStyle().setBgColor(0x123456);
    Adding animation to a dialog is same as adding the animation to a form. Create an instance of a dialog.Say you have overridden a Label Component and used it for animation, add the label to your dialog and use the show method to display that dialog.

Similar Threads

  1. How to hide/remove title bar of LWUIT form?
    By ducngo in forum Mobile Java General
    Replies: 6
    Last Post: 2012-12-07, 16:12
  2. chnaging dialog text colour
    By dinesh547 in forum Symbian
    Replies: 0
    Last Post: 2008-05-22, 13:19
  3. change title colour
    By letiziad in forum Symbian
    Replies: 2
    Last Post: 2006-09-26, 15:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×