to make sure each item is square?..
                  
                  
                  
                  
                  
                  (Adjust the height according to width)
                  
                  
                  
                  
                  
                  Some of the ways I know are
                  
                  
                  
                  
                  
                  1. Create a custom view which have height and width same and scales
                  
                  
                  2. Change the height inside adapter and set it equal to the current width.
                  
                  
                  
                  
                  
                  Any other ideas?.. or improvements/suggestions?
                  
                  
                
Use a custom view and override onMeasure
Обсуждают сегодня