Categories
Android Java

How to add a splash screen to your android application in under 5 minutes

Adding a splash screen to your application is a quick and easy way to make it look more well rounded, complete, and more professional, it can also serve as a useful distraction whereby you have an extra few seconds to initialise your application components before displaying them to the user. In this post I’ll show […]

Categories
Android

Converting dp to pixels in android

Sometimes in android you have to deal with pixels, which can often be awkward, such as view.setPadding(int, int, int, int).  Obviously this is not ideal as pixel ratings vary from device to device, nonetheless there is a work around for this Simply come up with the value you want in dip (density independent pixels), such […]

Categories
Android

How to remove the default grey title bar on android apps

Fed up of the default title bar on your android applications? We can get rid of that easy, either use the following in your activities to do it : Or, the way I prefer, disable it application wide by slipping the following into the AndroidManifest.xml file :