VK imagery



  • I'd like to make a combination of images as a VC post, depending on the number of images. Make the right path. введите сюда описание изображения



  • The three LinearLayout should be dynamically built with horizontal orientation and software to add pictures. In the first linearLayout with one ImageView, Second Linearlayout with the properties of sumWeight = 2 and 2 ImageView c layout_weight = 1, followed by the third layout sumWeight = 4 and 4 ImageView with layout_weight = 1.

    All three linearLayout needs to be put in a pre-directed linearLayout of resources.

    The second and third linearLayout has a fixed height and the first wrap_content.

    Naturally, we need to check whether we have enough pictures for all three rows, or we can create a universal cycle that checks out what the minimum dose is the number of pictures, and creates loyotes as long as the dots are doubled.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2