I'm suppose to implement a complex layout for Android dashboard activity as shown in the following image.
Here for some cells multiple text views should be added like this, Eg:
Here the texts of some text views will be loaded from a web service using Async tasks. Only one image view should be click able.
I want to know that what is the best way to implement this type of complex layout in Android.
I have tried to use linearlayouts withing lianearlayouts to implement this but it is huge mess and lot of complex. Then I tried to use tablelayouts with lianearlayouts but it is also getting more complex. Then I thought of doing this using grid views with linearlayouts but I'm wonder how to do this exactly.
I'm still in learning stage, I just want an advice what is the best way to implement this layout what type of layouts should I use and where. I don't need complete implementation.
Thanks in advance.
These kind of problems can be solved very easy using Android Percent Support Lib,
checkout gist: https://gist.github.com/shekarrex/5458f697c02e5619b0e2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With