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



 

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.