title: I have to implement design like below image in android
body: <p><a href="https://i.stack.imgur.com/yHlNC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yHlNC.png" alt="enter image description here" /></a></p>
  <p>I need to implement a design like this. I have tried Grid but i cant achieve this design. Primary goal is to show a List of Strings in the given design and select one from list.</p>
  <p><code>   val layoutManagersituation = GridLayoutManager(this, 3) layoutManagersituation.spanSizeLookup = object : SpanSizeLookup() { override fun getSpanSize(position: Int): Int { return 3 - position % 3 } }</code></p>