I have an application in which you can accept friend request. For this purpose i have kept an activity which will start when an image button is pressed.
When my application starts i want to check if the user has any requests and if yes the button should be highlighted.
How do i do this?
Take another highlighted colour image. and Set TextView on that image.
Ex: RelativeLayout for that RelativeLayout background is your highlighted colour image then set TextView on that RelativeLayout.
Based on your condition put this image and number of pendings to TextView