android - Which are the dimensions of a Card Item? -


following material design, found cards.
unfortunately can't found information dimensions of cards items of picture below.

enter image description here

please tell me dimensions of cards need use.
want know :

  • what full height , full width of card item?
  • what height of description area in card item(img_4130.jpg,img_4131.jpg,etc.)

that's need.

according docs in exact page linked, these not cards - represented android.support.v7.widget.cardview - tiles.

you have implement own layout tiles , have dimensions wish, because pattern not standardized in docs.

main differences between cards , tiles:

  1. cards have rounded corners.
  2. cards can have multiple actions.
  3. cards can dismissible , rearranged.

while:

  1. tiles have square corners.
  2. tiles have no more 2 actions.

so use tiles homogeneous content not-so-many actions in it. dimensions depend on images, basically.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -