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