Hello All,
I want to create a circular button having a plus and minus sign on to this and exactly used in Android Contacts application like shown in the image as below:
If any body knows please tell me..
Thank You All.....
Hello All,
I want to create a circular button having a plus and minus sign on to this and exactly used in Android Contacts application like shown in the image as below:
If any body knows please tell me..
Thank You All.....
Have you tried simply by using a circular png as your button's drawable?
You may see implementation of this button in android source code: http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree
It's just ImageButton with circular png as background. Here is definition of their styles:
<style name="MinusButton">
<item name="android:background">@drawable/btn_circle</item>
<item name="android:src">@drawable/ic_btn_round_minus</item>
<item name="android:contentDescription">@string/description_minus_button</item>
</style>
<style name="PlusButton">
<item name="android:background">@drawable/btn_circle</item>
<item name="android:src">@drawable/ic_btn_round_plus</item>
<item name="android:contentDescription">@string/description_plus_button</item>
</style>