{"id":14666,"date":"2014-07-11T13:09:08","date_gmt":"2014-07-11T07:39:08","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=14666"},"modified":"2014-07-11T13:09:08","modified_gmt":"2014-07-11T07:39:08","slug":"handle-multiple-screen-sizes-in-android","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/","title":{"rendered":"Handle Multiple Screen Sizes in Android"},"content":{"rendered":"<p style=\"text-align: justify\">Android devices come in a variety of screen sizes and resolutions. That&#8217;s why handling the multiple screen size in android is most important.<\/p>\n<p style=\"text-align: center\"><span class=\"highlight\"><strong>TERMS AND CONCEPTS<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><strong>Screen size :<\/strong> Actual physical size, measured as the screen&#8217;s diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large.<\/p>\n<p style=\"text-align: justify\"><strong><del><\/del>Screen density :<\/strong> The quantity of pixels within a physical area of the screen; usually referred to as dpi (dots per inch).For simplicity, Android groups has four generalized densities: low, medium, high, and extra high.<\/p>\n<p style=\"text-align: justify\"><strong>Orientation :<\/strong>\u00a0 The orientation of the screen from the user&#8217;s point of view.In Android, This is either landscape or portrait.<\/p>\n<p style=\"text-align: justify\"><strong>Resolution :<\/strong> The total number of physical pixels on a screen.In Android, we do not work directly with resolution; applications should be concerned only with screen size and density.<\/p>\n<p align=\"center\"><span class=\"highlight\"><strong>How To Support Different Screen&#8217;s.<\/strong><\/span><\/p>\n<p>Basically we are mainly this things by three ways.<br \/>\n<strong>1.<\/strong> Explicitly declare in the manifest which screen sizes your application supports.<br \/>\n<strong>2.<\/strong> Provide different layouts for different screen sizes.<br \/>\n<strong>3.<\/strong> Provide different bitmap drawables for different screen densities.<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%;text-align: left\"><span class=\"highlight\"><b>1. Explicitly declare in the manifest which screen sizes your application supportss<\/b><\/span><\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%;text-align: justify\">To set up support for multiple device sizes in Android, add the <span style=\"color: #0000ff\">&lt;support-screens&gt; <\/span>element into the AndroidManifest.xml file. This field specifies which screen size support and which do not.<\/p>\n<p>[xml]<br \/>\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br \/>\n&lt;manifest ..&gt;<\/p>\n<p>&lt;supports-screens<br \/>\nandroid:smallScreens=&quot;true&quot;<br \/>\nandroid:normalScreens=&quot;true&quot;<br \/>\nandroid:largeScreens= &quot;true&quot;<br \/>\nandroid:anyDensity=&quot;true&quot;<br \/>\n\/&gt;<\/p>\n<p>&lt;application&#8230; &gt;<br \/>\n\u2026.<br \/>\n&lt;\/application&gt;<br \/>\n&lt;\/manifest&gt;<br \/>\n[\/xml]<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%\">we can also define dp in the <span style=\"color: #0000ff\">&lt;support-screens&gt; <\/span>element like-<\/p>\n<p>[xml]<br \/>\n&lt;manifest &gt;<br \/>\n    &lt;supports-screens android:requiresSmallestWidthDp=&quot;600&quot; \/&gt;<br \/>\n&lt;\/manifest&gt;<br \/>\n[\/xml]<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%\"><span class=\"highlight\"><b>2. Provide different layouts for different screen sizes<\/b><\/span><\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%;text-align: justify\">As we design our UI for different screen sizes, we&#8217;ll discover that each design requires a minimum amount of space. So, each generalized screen size above has an associated minimum resolution that&#8217;s defined by the system. These minimum sizes are in &#8220;dp&#8221; units.<\/p>\n<p>[java]<br \/>\nres\/layout\/my_layout.xml             \/\/ layout for normal screen size (&quot;default&quot;)<br \/>\nres\/layout-small\/my_layout.xml       \/\/ layout for small screen size<br \/>\nres\/layout-large\/my_layout.xml       \/\/ layout for large screen size<br \/>\nres\/layout-xlarge\/my_layout.xml      \/\/ layout for extra large screen size<br \/>\nres\/layout-xlarge-land\/my_layout.xml \/\/ layout for extra large in landscape orientation<br \/>\n[\/java]<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%\">We can also define it on the basis of dp like &#8211;<\/p>\n<p>[java]<br \/>\nres\/layout\/main_activity.xml           \/\/ For handsets<br \/>\nres\/layout-sw600dp\/main_activity.xml   \/\/ For 7\u201d  tablets(600&#215;1024 mdpi).600dp wide and bigger.<br \/>\nres\/layout-sw720dp\/main_activity.xml   \/\/ For  10\u201d tablets (720&#215;1280 mdpi).720dp wide and bigger.<br \/>\n[\/java]<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%\"><span class=\"highlight\"><b>3. Provide different bitmap drawables for different screen densities<\/b><\/span><\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%;text-align: justify\">To set labels for different layouts, dimensions or different screen density resources, use the following resource directories:<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%\"><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/07\/Aug13_handling01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14709 aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/07\/Aug13_handling01.jpg\" alt=\"Aug13_handling01\" width=\"190\" height=\"223\" \/><\/a><\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%\"><span style=\"font-size: medium\">For example:<\/span><\/p>\n<p>[java]<br \/>\nres\/drawable-hdpi\/myImg.png  \t\/\/  bitmap  used for high-density<br \/>\nres\/drawable-mdpi\/myImg.png \t\/\/  bitmap  used for medium-density<br \/>\nres\/drawable-ldpi\/myImg.png\t  \/\/ bitmap used for low-density<br \/>\nres\/drawable-xhdpi\/myImg.png       \/\/  bitmap used for extra high density<br \/>\n[\/java]<\/p>\n<p style=\"margin-bottom: 0cm;line-height: 200%\" align=\"center\"><span style=\"font-size: large\"><span class=\"highlight\"><b>Handing Screen Density<\/b><\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%;text-align: justify\"><span style=\"font-size: medium\">We can develop our application to maintains the physical size of the interface by using match_parent and wrap_content values for android:layout_width and android:layout_height. This parameter does not specify size but adapts to the space available.<\/span><\/p>\n<p>[xml]<br \/>\n&#8230;<br \/>\nandroid:layout_width = &quot;match_parent&quot;<br \/>\nandroid:layout_height = &quot;wrap_content&quot;<br \/>\n&#8230;<br \/>\n[\/xml]<\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%;text-align: justify\"><span style=\"font-size: medium\">Bitmap scaling can result in blurry images. To prevent this, provide higher-resolution bitmaps for high-density screens and the system will use those instead of resizing the bitmap designed for medium-density screens.<\/span><\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%;text-align: justify\"><span style=\"color: #ffffff\">A<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: medium\">Following are ways the Android system helps to achieve density independence:<\/span><\/p>\n<p style=\"margin-bottom: 0cm;line-height: 100%;text-align: justify\"><span style=\"font-size: medium\"><strong>1.<\/strong> <span style=\"font-weight: normal\">Android considers dp [density-independent pixels] units as appropriate for the current screen density. <\/span><\/span><\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%;text-align: justify\"><span style=\"font-size: medium\"><strong>2.<\/strong> Android also accounts for scaled pixels (sp), which are scaled based on the user&#8217;s preference of font size (FONT_SCALE value in System. Settings).<\/span><\/p>\n<p style=\"margin-bottom: 0cm;font-weight: normal;line-height: 100%;text-align: justify\"><span style=\"font-size: medium\"><strong>3.<\/strong> Android scales the drawable resources to the suitable size, if alternative resources are not available, and it solely depends on the current screen density.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android devices come in a variety of screen sizes and resolutions. That&#8217;s why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen&#8217;s diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity [&hellip;]<\/p>\n","protected":false},"author":126,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":59,"footnotes":""},"categories":[518],"tags":[],"class_list":["post-14666","post","type-post","status-publish","format-standard","hentry","category-android"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Android devices come in a variety of screen sizes and resolutions. That&#039;s why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen&#039;s diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Himanshu Kumar Singh\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Handle Multiple Screen Sizes in Android | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Android devices come in a variety of screen sizes and resolutions. That&#039;s why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen&#039;s diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Handle Multiple Screen Sizes in Android | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Android devices come in a variety of screen sizes and resolutions. That&#039;s why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen&#039;s diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#article\",\"name\":\"Handle Multiple Screen Sizes in Android | TO THE NEW Blog\",\"headline\":\"Handle Multiple Screen Sizes in Android\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu-singh\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2014\\\/07\\\/Aug13_handling01.jpg\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#articleImage\"},\"datePublished\":\"2014-07-11T13:09:08+05:30\",\"dateModified\":\"2014-07-11T13:09:08+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":6,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#webpage\"},\"articleSection\":\"Android\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"position\":2,\"name\":\"Android\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#listItem\",\"name\":\"Handle Multiple Screen Sizes in Android\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#listItem\",\"position\":3,\"name\":\"Handle Multiple Screen Sizes in Android\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu-singh\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu-singh\\\/\",\"name\":\"Himanshu Kumar Singh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/e0265397-05f6-47f9-985d-2d7945f06247_himanshu.singh@tothenew.com.jpg\",\"width\":96,\"height\":96,\"caption\":\"Himanshu Kumar Singh\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/\",\"name\":\"Handle Multiple Screen Sizes in Android | TO THE NEW Blog\",\"description\":\"Android devices come in a variety of screen sizes and resolutions. That's why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen's diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/handle-multiple-screen-sizes-in-android\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu-singh\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu-singh\\\/#author\"},\"datePublished\":\"2014-07-11T13:09:08+05:30\",\"dateModified\":\"2014-07-11T13:09:08+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Handle Multiple Screen Sizes in Android | TO THE NEW Blog","description":"Android devices come in a variety of screen sizes and resolutions. That's why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen's diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity","canonical_url":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#article","name":"Handle Multiple Screen Sizes in Android | TO THE NEW Blog","headline":"Handle Multiple Screen Sizes in Android","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/himanshu-singh\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2014\/07\/Aug13_handling01.jpg","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#articleImage"},"datePublished":"2014-07-11T13:09:08+05:30","dateModified":"2014-07-11T13:09:08+05:30","inLanguage":"en-US","commentCount":6,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#webpage"},"articleSection":"Android"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/android\/#listItem","name":"Android"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/android\/#listItem","position":2,"name":"Android","item":"https:\/\/www.tothenew.com\/blog\/category\/android\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#listItem","name":"Handle Multiple Screen Sizes in Android"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#listItem","position":3,"name":"Handle Multiple Screen Sizes in Android","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/android\/#listItem","name":"Android"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/himanshu-singh\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/himanshu-singh\/","name":"Himanshu Kumar Singh","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/e0265397-05f6-47f9-985d-2d7945f06247_himanshu.singh@tothenew.com.jpg","width":96,"height":96,"caption":"Himanshu Kumar Singh"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/","name":"Handle Multiple Screen Sizes in Android | TO THE NEW Blog","description":"Android devices come in a variety of screen sizes and resolutions. That's why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen's diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/himanshu-singh\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/himanshu-singh\/#author"},"datePublished":"2014-07-11T13:09:08+05:30","dateModified":"2014-07-11T13:09:08+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Handle Multiple Screen Sizes in Android | TO THE NEW Blog","og:description":"Android devices come in a variety of screen sizes and resolutions. That's why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen's diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity","og:url":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Handle Multiple Screen Sizes in Android | TO THE NEW Blog","twitter:description":"Android devices come in a variety of screen sizes and resolutions. That's why handling the multiple screen size in android is most important. TERMS AND CONCEPTS Screen size : Actual physical size, measured as the screen's diagonal.For simplicity, Android groups has four generalized sizes: small, normal, large, and extra large. Screen density : The quantity","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"14666","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 19:44:47","updated":"2024-02-29 08:46:17","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/android\/\" title=\"Android\">Android<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHandle Multiple Screen Sizes in Android\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Android","link":"https:\/\/www.tothenew.com\/blog\/category\/android\/"},{"label":"Handle Multiple Screen Sizes in Android","link":"https:\/\/www.tothenew.com\/blog\/handle-multiple-screen-sizes-in-android\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/126"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=14666"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14666\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=14666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=14666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=14666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}