i'm new to Android development. I'm working on a new app(piano style) and using Android Studio. I'm trying to design the layout using the ready to be placed buttons. However, i'm having problems placing them where i want, f.e. the piano keys, which cannot be place the one next to another and with a same size. I have read that's because Android devices are in many sizes(more specifically the screens), not like Iphones, which come in one size for each generation.
I've searched the net to find a way to do that, but nothing really helped. Any ideas that could help??
I was developing piano app in past, and you shoudn't make keys in layout, you should intead draw it by yourself(with drawables). This is whole project which i used to create piano : https://github.com/TheHiddenDuck/custom_view_keyboard, this is post about it, but you should know that it's in russian : http://habrahabr.ru/post/176643/ (so if aren't familiar with this language you should skip this post) anyway code will do the trick, and you can feel free to ask about some parts of it, because i've made a project around this code