How to create simple view separators

This will show you three ways to create nice looking view separators, to use between a row of buttons for example. The examples shows a LinearLayout with three buttons, that should get separators in between them. The third example may be the easiest one to implement, while the other ones gives you better customizability. Method one – Manually adding a view separator to the LinearLayout We can create a simple View that represents the separator, and just add it in between

» Read more

How to change the icon of your Android app

This is just a small follow-up post to The easiest way to create nice icons for Android apps. Say, if you follow that guide, and have made an icon to represent your app, how do you use it? If you have one icon image, or three icon images (one for each screen density, ldpi, mdpi and hdpi, like in the guide), you put your icon files in the res/drawable folder where they belong. Depending on what API level you

» Read more

The easiest way to create nice icons for Android apps

In this article I will show you a very easy way to create nice looking icon drawables you can use in your Android applications. Using this method we can easily skip through the difficult and time-consuming parts of creating icons. Yes, I know this method does not work for everyone, some Android developers have their own designer and so on, but for a small and simple app, this will definateley do! The problem Creating icons for Android apps may sound

» Read more

How to create Gradient Lines with Drawables in Android

This article will show you how to create simple gradient line separators to spice up the layout a little bit. We are going to create gradients like these: About Drawables First off, we are going to create a drawable. A drawable resource is graphics that can be drawn on the screen, it can be a couple of different things, here are some examples; Bitmaps – png, jpg or gif images Nine-Patch image – A png that can be stretched, to create buttons

» Read more