0

I read this article :

http://lwuit.blogspot.in/2008/06/lightweight-text-input-in-lwuit.html

This article talks of autocomplete textfield embedded on a form which has a background image which is animated. As in there is a fish which is swimming and ifeel it looks really cool.

How is that implemented? Where should I start? I wish to do the same with my form: an animation in the background.

Nikhil
  • 1,279
  • 2
  • 23
  • 43

1 Answers1

2

It's very easy using the LWUIT Resource Editor. You should create a TimeLine Image (using a the Tab images) and add it to the background of your application. You can use the add animated Gif option which converts an animated GIF to a timeline.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65
Mun0n
  • 4,438
  • 4
  • 28
  • 46
  • So basically, I open my existing theme with resource editor and then look around for creating tab images..alright. how do i add it to the background? Can you supply a small code snippet? – Nikhil Jun 21 '12 at 10:18
  • Sorry. What I want to mean is the next. Open the Resource Editor. Create a theme. Ok, in the bar options, there is a Image tab (not for the theme, there are option tabs up) and there, use Option "images" to add an image and convert to MultiImage. The last step is, go to the themes tab and open the propierties from the Form. Use the image as a background. Tell me if you need more help. – Mun0n Jun 21 '12 at 10:24
  • 2
    Fixed the answer from multi-image to timeline animation/gif. – Shai Almog Jun 23 '12 at 07:43