1 home=true 2 @jd:body 3 4 5 <div id="mainBodyFixed"> 6 <div id="mainBodyLeft"> 7 <div id="homeMiddle"> 8 <div id="topAnnouncement"> 9 <div id="homeTitle"> 10 <h2></h2> 11 </div><!-- end homeTitle --> 12 <div id="announcement-block"> 13 <!-- total max width is 520px --> 14 <img src="/assets/images/home/android_adc.png" alt="Android Developer Challenge 2" width="232px" /> 15 <div id="announcement" style="width:275px"> 16 <p>2Android Developer ChallengeAndroid$250,000 831</p> 17 <p><a href="http://code.google.com/android/adc/">Android Developer Challenge »</a></p> 18 </div> <!-- end annoucement --> 19 </div> <!-- end annoucement-block --> 20 </div><!-- end topAnnouncement --> 21 <div id="carouselMain" style="height:210px"> <!-- this height can be adjusted based on the content height --> 22 </div> 23 <div class="clearer"></div> 24 <div id="carouselWheel"> 25 <div class="app-list-container" align="center"> 26 <a href="javascript:{}" id="arrow-left" onclick="" class="arrow-left-off"></a> 27 <div id="list-clip"> 28 <div style="left: 0px;" id="app-list"> 29 <!-- populated by buildCarousel() --> 30 </div> 31 </div><!-- end list-clip --> 32 <a href="javascript:{ page_right(); }" id="arrow-right" onclick="" class="arrow-right-on"></a> 33 <div class="clearer"></div> 34 </div><!-- end app-list container --> 35 </div><!-- end carouselWheel --> 36 </div><!-- end homeMiddle --> 37 38 <div style="clear:both"> </div> 39 </div><!-- end mainBodyLeft --> 40 41 <div id="mainBodyRight"> 42 <table id="rightColumn"> 43 <tr> 44 <td class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_download.jpg" style="padding:0" /></a></td> 45 <td> 46 <h2 class="green"></h2> 47 <p>Android SDK </p> 48 <p><a href="{@docRoot}sdk/index.html"> »</a></p> 49 </td> 50 </tr> 51 <tr> 52 <td colspan="2"><div class="seperator"> </div></td> 53 </tr> 54 <tr> 55 <td class="imageCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market.jpg" style="padding:0" /></a></td> 56 <td> 57 <h2 class="green"></h2> 58 <p>Android </p> 59 <p><a href="http://market.android.com/publish/Home"> »</a></p> 60 </td> 61 </tr> 62 <tr> 63 <td colspan="2"><div class="seperator"> </div></td> 64 </tr> 65 <tr> 66 <td class="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contribute.jpg" style="padding:0" /></a></td> 67 <td> 68 <h2 class="green"></h2> 69 <p>Android </p> 70 <p><a href="http://source.android.com"> »</a></p> 71 </td> 72 </tr> 73 <tr> 74 <td colspan="2"><div class="seperator"> </div></td> 75 </tr> 76 <tr> 77 <td class="imageCell"><a href="http://www.youtube.com/user/androiddevelopers"><img src="{@docRoot}assets/images/video-droid.png" style="padding:0" /></a></td> 78 <td> 79 <h2 class="green"></h2> 80 <object width="150" height="140"><param name="movie" value="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="150" height="140"></embed></object> 81 <p style="margin-top:1em"><a href="{@docRoot}videos/index.html"> Android »</a></p> 82 </td> 83 </tr> 84 85 </table> 86 </div> 87 </div> 88 89 <!--[if lte IE 6]> 90 <style> 91 #arrow-left { 92 margin:0 0 0 5px; 93 } 94 #arrow-right { 95 margin-left:0; 96 } 97 .app-list-container { 98 margin: 37px 0 0 23px; 99 } 100 div#list-clip { 101 width:468px; 102 } 103 </style> 104 <![endif]--> 105 106 <script type="text/javascript"> 107 108 // * -- carousel dictionary -- * // 109 /* layout: imgLeft, imgRight, imgTop 110 icon: image for carousel entry. cropped (height:70px, width:90px) 111 name: string for carousel entry 112 img: image for bulletin post. cropped (height: 170, width:230px) 113 title: header for bulletin (optional, insert "" value to skip 114 desc: the bulletin post. must include html tags. 115 */ 116 117 var droidList = { 118 'sdk': { 119 'layout':"imgLeft", 120 'icon':"sdk-small.png", 121 'name':"Android 2.0", 122 'img':"eclair-android.png", 123 'title':"Android 2.0", 124 'desc': "<p>Android 2.0 Android 2.0 API() Google API </p><p><a href='{@docRoot}sdk/index.html'>Android SDK »</a></p>" 125 }, 126 127 'io': { 128 'layout':"imgLeft", 129 'icon':"io-small.png", 130 'name':"Google I/O", 131 'img':"io-large.png", 132 'title':"Google I/O Developer Conference", 133 'desc': "<p>Google I/O Moscone Center 5 2728 YouTube <nobr></nobr></p><p><a href='{@docRoot}videos/index.html'> »</a></p>" 134 }, 135 136 'mapskey': { 137 'layout':"imgLeft", 138 'icon':"maps-small.png", 139 'name':"Maps API ", 140 'img':"maps-large.png", 141 'title':"Maps API ", 142 'desc':"<p>MapView Google Android Maps API API Android </p><p><a href='http://code.google.com/android/add-ons/google-apis/maps-overview.html'> »</a></p>" 143 }, 144 145 'devphone': { 146 'layout':"imgLeft", 147 'icon':"devphone-small.png", 148 'name':"Dev Phone 1", 149 'img':"devphone-large.png", 150 'title':"Android Dev Phone 1", 151 'desc': "<p> Android Android Android Dev Phone 1 <a href='http://market.android.com/publish'>Android </a></p><p><a href='/guide/developing/device.html#dev-phone-1'>Android Dev Phone 1 »</a></p>" 152 } 153 154 } 155 </script> 156 <script type="text/javascript" src="{@docRoot}assets/carousel.js"></script> 157 <script type="text/javascript"> 158 initCarousel("sdk"); 159 </script> 160