Android – Toggle Button with special shape

Let's put together the last two snippets and build some kind of a nice custom toggle.

Read More

Android – Button with text color changed on click

The easiest way to make a button with text color changing on press.

Read More

Android – Button with background changed on click

This is how to make a button with background changed on press without drawables

Read More

Android – Get free space on device

Use this to test if there is enough space on your device.

Read More

Android – Copy message to clipboard

Do you want to copy some string to clipboard? Use this.

Read More