Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How did they make such layout - which elements they used?

At the moment, I am using Euro 2012 app and it has some interesting layout parts. If you go to matches->knockout screen, you'll see 3 screens like this.

If you slide left or right, you move between them not like between one activity to another, but just like all these elements are laid on one big canvas and you slide each screen into focus. Even thou, if you slide left/right, the screen cannot be stopped in the way that half of each image is visible, so I guess it's not a big canvas. Somehow you can slide screen like one big image, and yet it always lock perfectly as if they used 3 activities for this.

How did the do this?

like image 584
sandalone Avatar asked Jun 23 '12 07:06

sandalone


People also ask

What are the elements of layouts?

THE BASICS OF PAGE LAYOUT. This section discusses five major elements of page layout: visual hierarchy, visual flow, grouping and alignment, how to put these three elements together, and how to use dynamic displays.

What are the main elements of design and how are they used?

The elements of design are the fundamental aspects of any visual design which include shape, color, space, form, line, value, and texture. Graphic designers use the elements of design to create an image that can convey a certain mood, draw the eye in a certain direction, or evoke a number of feelings.

Which principles of layout design is used to show the relevance between elements?

"Proximity" in layout design is a technique to show relevance between elements by consciously bringing those that are related to each other (like headings and associated paragraphs) closer in distance.


1 Answers

It's a ViewPager, available in Android support package and described in their blog.

like image 71
Ran Avatar answered Nov 23 '22 08:11

Ran