What is this layout composed of?

Asked

Viewed 62 times

0

I saw this app and on this screen there are some divisions that seem to have been made with cardview, someone can say if it was really made that way or how it was made?

Another detail is at the end, it has a button that takes the entire width of the screen, it has two functions, find a photo or take a photo with the camera, as this button was made?

There are specific components for this?

inserir a descrição da imagem aqui

1 answer

3


There is not much secret Hugo, you yourself mentioned the components. It was probably used Card View. But it is also possible to achieve this in a raised layout.

About the button at the end: It’s probably also a Cardview that has two Image Buttons with backgrounds and a view to make that dash by splitting the buttons.

A view in this style:

<View
    android:id="@+id/view"
    android:layout_width="1dp"
    android:layout_height="match_parent"
    android:background="@color/SUA_COR_AQUI"
    android:layout_marginTop="20dp"
    android:layout_marginBottom="20dp"
     />

The margins are to give the effect that the View is away from the edges of the card.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.