Android

Using Fonts in Android

Android has supported setting custom fonts from a long time, but it has always missed out on one feature, setting fonts in xml. It has only allowed using fonts programmatically. Android team has finally resolved this pitfall in Support Library 26. Now you can use fonts in xml, just like any Read more…

By Gurleen Sethi, ago
Android

Make a moving Gradient Background in Android

This is a quick tutorial on how to make a moving gradient background on Android. To achieve this all we need is AnimationList. Lets start! First we will create five gradient drawables in different files, as follows. [crayon-5b06a294dc399713234662/] [crayon-5b06a294dc39f027227016/] [crayon-5b06a294dc3a2165626038/] [crayon-5b06a294dc3a3523880112/] [crayon-5b06a294dc3a5193454010/] Now in a new xml drawable file add the Read more…

By Gurleen Sethi, ago