how to add red color badges(notification count) overlay like facebook in android?

I am using SlidingTabLayout provided by Google but i dont know how to add badge on top of tab's text like in this sc...

how to make custom dial pad xml design in android..??

I want to design custom dial pad with alphabets inn my application. is it better to with Table View or Grid View..? ...

how stretch inside a circle image with nine patch?

I have a image that is as a circle .I want stretch only part of inside of it and i dont want stretch borders of it. ...

Left-right arrow indicators over a ViewPager?

I want to show left and right arrows over my ViewPager, to indicate swiping. I added two ImageButtons over the View...

Android swipe screen with circle indication?

I am new to android and I need some basic explanation on how to create a tutorial with circle indicator as shown on ...

Android gradient graphics quality (scaled bitmap)?

I want to display a splash screen with an gradient in my app. But the quality of the gradient in the background is p...

How to draw watchface 'ticks' on a square watch??

I currently have this snippet generating the ticks around the outside of and android wear watchface float innerMain...

How to change color of Android ListView separator line??

I want to change color of ListView separator line. Any help would be appreciated. ...

Get spinner selected items text??

How to get spinner selected item's text? I have to get the text on the item selected in my spinner when i click on ...

Custom Progress bars and Gauges?

I want to create custom progress widgets as shown in the image. After some research I found: For needle gauge i c...

How to show only top and bottom border?

This is my XML code which works fine, the only problem is it's showing border on all four sides while I want only to...

Create Diagonal Line in Drawable?

Want to achieve something like this: ...

Why is my Android emulator keyboard in Chinese character mode??

I'm debugging my Android application using the AVD (Android Virtual Device). When I try to enter text in a text fie...

Android “Screen Overlay Detected” message if user is trying to grant a permission when a notification is showing?

I have Android Marshmallow on a Nexus 6. I am trying to fix the following problem: If a user is trying to grant per...

Cannot lower case button text in android studio?

I have a trivial question that has been bothering me for a while. I tried to google this but no one seems to have th...