4

I ported the android application to BB10. In application if keyboard is open at the same time if toast is display it is hide behind the keyboard on BB10 and user not able to see the toast message. In Android application it works fine only issue face is in BB10.

1 Answer 1

5

set Toast Gravity Top

Toast t = Toast.makeText(MainActivity.this, "TOP | RIGHT", Toast.LENGTH_LONG);
        t.setGravity(Gravity.TOP|Gravity.RIGHT, 0, 0); 
        t.show();
1
  • how to do it in a Blackberry 10 app using qt C++
    – Mayank
    Jan 9, 2015 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.