I am developing an Android application for handsets and tablets. I have images in drawable-mdpi folder for handsets, I have an mdpi tablet that gets resources from drawable-mdpi. How can I make difference between mdpi handsets and mdpi tablets?
            Asked
            
        
        
            Active
            
        
            Viewed 91 times
        
    0
            
            
        - 
                    1duplicate question. http://stackoverflow.com/questions/8255985/how-to-support-different-screen-size-in-android follow this link – RamBabu Pudari May 22 '15 at 10:39
 
2 Answers
0
            
            
        simply do it with dimen
for Handset use default values dimens.xml
values-sw600dp for 7 inch Tablate add dimens.xml
values-sw720dp 10 inch Tablate add dimens.xml
also create drawable-sw600dp and drawable-sw720dp
        Jignesh Jain
        
- 1,518
 - 12
 - 28
 
0
            
            
        You will find solution in these two links.
Hope this helps.
        Community
        
- 1
 - 1
 
        activesince93
        
- 1,716
 - 17
 - 37