Working on layouts

Android Studio provides a graphical editor to create the applications layouts, but it’s better to create them directly in XML, because it’s more precise. There’s 2 layouts to make, the first is a « brithday card » and the second a presentation and contact app for a small business.

The Birthday card is made with RelativeLayout and some TextView and ImageView positioned relatively to each other.

Birthday card Layout
Birthday card Layout

 

The small business app is made of a big RelativeLayout with LinearLayout nested.

Cupcake Symphony Layout
Cupcake Symphony Layout

 

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.