title: Media Query for Samsung Galaxy Tab 4 - 7 inch
body: <p>i am targeting my application for various Android Tablet devices. Mainly 10 inch and 7 inch Samsung and Nexus.</p>
  
  <p>To target Samsung Galaxy Tab 7 inch used the below media query, 1024x600 px. It works fine in Galaxy tab 2, 3 of 7inch. But not working for Galaxy Tab 4 7 inch.</p>
  
  <pre><code>@media only screen and (max-width: 1024px) and (orientation : landscape)
  { }
  </code></pre>
  
  <p>Samsung Galaxy Tab 4.0 7 inch uses the following screen specification. Which is same for Samsung Galaxy 4.0 10.1 inch Model - SM-T530NYKAXAR. So on my 7inch Galaxy Tab 4, it uses the media query of Samsung Galaxy tab 4.0 10inch and loads the HTML pages odd.</p>
  
  <p>How to target Samsung Galaxy Tab 4.0 7inch via media query. </p>
  
  <p>Screen Specification:</p>
  
  <p>Physical Size: 7 inch</p>
  
  <p>Resolution: 1280x800 (Landscape)</p>
  
  <p>Pixel Density: 216 ppi</p>
  
  <p>Thanks.</p>