I have a problem with bitmapfield. I'm trying to have a click event on a Bitmap field.
It is working so far, but the problem is event is generating anywhere on the screen while i'm setting it on a particular field. As my app has multiple bitmaps on the same screen, it is being tough to manage them.
Here is my piece of code:
private BitmapField _HeaderBitmap =new BitmapField( Bitmap.getBitmapResource ("headerImg.png"));
final private Bitmap _secondHeaderBitmap = Bitmap.getBitmapResource("connect.PNG");
private BitmapField signup =new BitmapField (Bitmap.getBitmapResource("sign-up-btn.png"),BitmapField.FOCUSABLE);
protected boolean navigationClick(int status, int time)
{
if (signup.isFocus())
UiApplication.getUiApplication().pushScreen(new signupScreen());
return true;
}