I am new to badge's concept. In my application i want to show the badges on the tabs. For that i used the android-viewbadger.jar file. It's working fine but position property is not effected. How to set the position. If you need more info please let me know.
TabWidget tabs = (TabWidget) findViewById(android.R.id.tabs);
DH_Constant.badgeView = new BadgeView(this, tabs, 2);
// it's working fine
badge1.setBadgePosition(BadgeView.POSITION_CENTER);
// But I Supposed to set it as position to top_left or top_right then it still shows as bottom_left and bottom_right
badge1.setBadgePosition(BadgeView.POSITION_TOP_RIGHT);
DH_Constant.badgeView.setText(DH_Constant.MessagesCount_obj.count);
DH_Constant.badgeView.show();
Output: