android designing badge for tab to fit all the screens
<p>I am using badgeViewer library to add badge icon. But, when i use the</p>

<p>setHeight(), setWidth() properties it fits one device but not a different type of device.</p>

<p>Can anyone suggest which are the methods that can be used to resolve this mentioned issue.</p>

<p>I used the following properties to add badge to tab.</p>

<pre><code>    BadgeView badgeForOrders;        
    badgeForOrders = new BadgeView(TabHomeActivity.this, tabs, 3);
    badgeForOrders.setText("+");
    badgeForOrders.setBadgePosition(BadgeView.POSITION_TOP_RIGHT); 
</code></pre>
