diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/land_back.png b/docs/html/distribute/promote/device-art-resources/nexus_5/land_back.png new file mode 100644 index 0000000000000..697c017b46f32 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/land_back.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/land_fore.png b/docs/html/distribute/promote/device-art-resources/nexus_5/land_fore.png new file mode 100644 index 0000000000000..29aed613b66ed Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/land_fore.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/land_shadow.png b/docs/html/distribute/promote/device-art-resources/nexus_5/land_shadow.png new file mode 100644 index 0000000000000..fad6db188bab4 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/land_shadow.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/port_back.png b/docs/html/distribute/promote/device-art-resources/nexus_5/port_back.png new file mode 100644 index 0000000000000..b31aac694dee1 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/port_back.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/port_fore.png b/docs/html/distribute/promote/device-art-resources/nexus_5/port_fore.png new file mode 100644 index 0000000000000..aed056e2204b9 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/port_fore.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/port_shadow.png b/docs/html/distribute/promote/device-art-resources/nexus_5/port_shadow.png new file mode 100644 index 0000000000000..b3ae20c4050d5 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/port_shadow.png differ diff --git a/docs/html/distribute/promote/device-art-resources/nexus_5/thumb.png b/docs/html/distribute/promote/device-art-resources/nexus_5/thumb.png new file mode 100644 index 0000000000000..e013e39b99262 Binary files /dev/null and b/docs/html/distribute/promote/device-art-resources/nexus_5/thumb.png differ diff --git a/docs/html/distribute/promote/device-art.jd b/docs/html/distribute/promote/device-art.jd index 89231b2bed28a..b3b414ee9c3e3 100644 --- a/docs/html/distribute/promote/device-art.jd +++ b/docs/html/distribute/promote/device-art.jd @@ -117,6 +117,9 @@ feature image or screenshots for your Google Play app listing.
border-top: 1px solid transparent; background: transparent url({@docRoot}assets/images/styles/disclosure_down.png) no-repeat scroll 0 8px; + -webkit-transition: border 0.2s; + -moz-transition: border 0.2s; + transition: border 0.2s; } #archive-expando.expanded { @@ -124,6 +127,21 @@ feature image or screenshots for your Google Play app listing. border-top: 1px solid #ccc; } + .device-list.archive { + max-height: 0; + overflow: hidden; + opacity: 0; + + -webkit-transition: max-height 0.2s, opacity 0.2s; + -moz-transition: max-height 0.2s, opacity 0.2s; + transition: max-height 0.2s, opacity 0.2s; + } + + .device-list.archive.expanded { + opacity: 1; + max-height: 300px; + } + #output { color: #f44; font-style: italic; @@ -152,17 +170,17 @@ feature image or screenshots for your Google Play app listing. // Device manifest. var DEVICES = [ { - id: 'nexus_4', - title: 'Nexus 4', - url: 'http://www.google.com/nexus/4/', - physicalSize: 4.7, - physicalHeight: 5.23, - density: 'XHDPI', + id: 'nexus_5', + title: 'Nexus 5', + url: 'http://www.google.com/nexus/5/', + physicalSize: 5, + physicalHeight: 5.43, + density: 'XXHDPI', landRes: ['shadow', 'back', 'fore'], - landOffset: [349,214], + landOffset: [436,306], portRes: ['shadow', 'back', 'fore'], - portOffset: [213,350], - portSize: [768,1280] + portOffset: [304,436], + portSize: [1080,1920], }, { id: 'nexus_7', @@ -220,6 +238,20 @@ feature image or screenshots for your Google Play app listing. portSize: [800,1280], archived: true }, + { + id: 'nexus_4', + title: 'Nexus 4', + url: 'http://www.google.com/nexus/4/', + physicalSize: 4.7, + physicalHeight: 5.27, + density: 'XHDPI', + landRes: ['shadow', 'back', 'fore'], + landOffset: [349,214], + portRes: ['shadow', 'back', 'fore'], + portOffset: [213,350], + portSize: [768,1280], + archived: true + }, { id: 'galaxy_nexus', title: 'Galaxy Nexus', @@ -321,7 +353,6 @@ feature image or screenshots for your Google Play app listing. $('#output').html(MSG_NO_INPUT_IMAGE); $('#frame-customizations').hide(); - $('.device-list.archive').hide(); $('#output-shadow, #output-glare').click(function() { createFrame(); @@ -360,10 +391,10 @@ feature image or screenshots for your Google Play app listing. $('#archive-expando').click(function() { if ($(this).hasClass('expanded')) { $(this).removeClass('expanded'); - $('.device-list.archive').hide(); + $('.device-list.archive').removeClass('expanded'); } else { $(this).addClass('expanded'); - $('.device-list.archive').show(); + $('.device-list.archive').addClass('expanded'); } return false; });