开发者

White patches around Custom Button

i am having a screen on which i have painted a image as a background and i am placing 6开发者_JAVA技巧 custom buttons in a verticalfield manager, every thing is working fine , but when focus comes on the last custom button, then it is surrounded by a white patch.. i don't no what the problem is...

Thanks in advance


The following fix usually works for that white background around custom fields. Override the moveFocus method to do the following:

protected int moveFocus(int amount, int status, int time) {
    int val = super.moveFocus(amount, status, time);
    invalidate();
    return val;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜