How to create User interface like the attached photo

前端 未结 7 840
既然无缘
既然无缘 2021-02-04 14:17

Can any one tell me what is this photo effect called. And I would like to know how to create an adapter for this attached image effect.

@Edited: This is a sample photo o

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 14:39

    This one doesn't look like a normal Gridview or a listview Adapter. You may have to create a custom control for it. For example in the given example some apps have more weightage compared to others. The ones which have more weightage should occupy full width and others will occupy 50% or 33% of the width (based on the landscape or portrait).

    So the logic create a table layout and based on the weightage add more controls on the adapter. And based on the weightage you have to create the row or column span accordingly.

提交回复
热议问题