What does this layout consist of?

0

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

Another detail is at the end, there is a button that takes all the width of the screen, it has two functions, locate a photo or take a photo with the camera, how did that button?

Are there specific components for this?

    
asked by anonymous 25.01.2016 / 04:16

1 answer

3

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

On the button at the end: Probably also a CardView that has two Image Buttons with transparent backgrounds and a view to make that dash dividing the buttons.

A view of 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 have the effect of the View being away from the edges of the card.

    
25.01.2016 / 12:15