1 page.title= 2 page.metaDescription=Android 3 page.image=/distribute/images/tablet-guidelines-color.jpg 4 Xnonavpage=true 5 page.type="" 6 7 @jd:body 8 9 <div id="qv-wrapper"><div id="qv"> 10 <h2></h2> 11 <ol> 12 <li><a href="#core-app-quality">1. </a></li> 13 <li><a href="#optimize-layouts">2. </a></li> 14 <li><a href="#use-extra-space">3. </a></li> 15 <li><a href="#use-tablet-icons">4. </a></li> 16 <li><a href="#adjust-font-sizes">5. </a></li> 17 <li><a href="#adjust-widgets">6. </a></li> 18 <li><a href="#offer-full-feature-set">7. </a></li> 19 <li><a href="#android-versions">8. Android </a></li> 20 <li><a href="#hardware-requirements">9. </a></li> 21 <li><a href="#support-screens">10. </a></li> 22 <li><a href="#google-play">11. </a></li> 23 <li><a href="#google-play-best-practices">12. Google Play </a></li> 24 25 </ol> 26 <h2></h2> 27 <ol> 28 <li><a href="#test-environment"></a></li> 29 </ol> 30 </div></div> 31 32 <div class="todp-right-float" style="padding-right:0;margin-bottom:1em"> 33 <img src="{@docRoot}distribute/images/tablet-guidelines-color.jpg" style="width:480px" /> 34 </div> 35 36 <p> 37 Android <a href="{@docRoot}distribute/stories/tablets.html"></a> 38 </p> 39 40 <p> 41 42 </p> 43 44 <p> 45 46 </p> 47 48 <div class="headerLine"><h2 id="core-app-quality">1. </h2></div> 49 50 <p><em></em><a href="{@docRoot}distribute/essentials/quality/core.html"></a> 51 </p> 52 53 <p> 54 55 </p> 56 57 <ul> 58 <li><a href="#android-versions">Android</a></li> 59 <li><a href="#hardware-requirements"></a></li> 60 <li><a href="#support-screens"></a></li> 61 <li><a href="#use-extra-space"></a></li> 62 <li><a href="#google-play">Google Play</a></li> 63 </ul> 64 65 <p> Google Play <a href="#google-play-optimization-tips"></a></p> 66 67 68 <div class="headerLine"> 69 <h2 id="optimize-layouts">2. </h2></div> 70 71 <p> 72 Android 73 </p> 74 75 <p> 76 7 77 </p> 78 79 80 <div style="width:500px;margin:1.5em"> 81 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-multipane-bad.png" style="padding:4px;margin-bottom:0em" /> 82 <p class="img-caption"><span style="font-weight:500"></span></p> 83 </div> 84 85 <p></p> 86 87 88 <ul> 89 <li> <code>large</code> <code>xlarge</code> <a href="{@docRoot}guide/practices/screens_support.html#NewQualifiers"></a><a href="{@docRoot}guide/practices/screens_support.html#NewQualifiers"></a> 90 </li> 91 92 <li> 93 </li> 94 95 <li> 96 </li> 97 98 <li> <a href="{@docRoot}design/style/metrics-grids.html#48dp-rhythm">48dp </a> 16dp 99 </li> 100 101 <li> <code>16dp</code> 102 </li> 103 </ul> 104 105 <p></p> 106 107 <ul> 108 <li> 100 50 75 </li> 109 <li><code>ListView</code></li> 110 <li></li> 111 </ul> 112 113 <h3 class="rel-resources clearfloat"></h3> 114 115 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/optimize" data-sortorder="-timestamp" data-cardsizes="6x3" data-maxresults="6"></div> 116 117 118 <div class="headerLine"><h2 id="use-extra-space">3. </h2></div> 119 120 <div style="width:340px;float:right;margin:1.5em;margin-bottom:0;margin-top:0"> 121 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-multipane-good.png" style="padding:4px;margin-bottom:0em" /> 122 <p class="img-caption"><span style="font-weight:500"></span></p> 123 </div> 124 125 <p> 10 7 </p> 126 127 <p></p> 128 129 <ul> 130 <li></li> 131 <li><a href="{@docRoot}design/patterns/multi-pane-layouts.html"></a></li> 132 <li></li> 133 134 <div style="width:490px;margin:1.5em auto 1.5em 0"> 135 <div> 136 <img src="{@docRoot}images/ui-ex-single-panes.png" align="middle" style="width:490px;padding:4px;margin-bottom:0em" /> 137 <img src="{@docRoot}images/ui-ex-multi-pane.png" style="width:490px;padding:4px;margin-bottom:0em" /> 138 <p class="image-caption" style="padding:.5em"><span style="font-weight:500"></span><em></em><em></em></p> 139 </div> 140 </div> 141 142 <li> <code><a href="{@docRoot}reference/android/app/Activity.html">Activity</a></code> <code><a href="{@docRoot}reference/android/app/Fragment.html">Fragment</a></code> </li> 143 <li> <code>large</code>/<code>xlarge</code> <code>sw600dp</code>/<code>sw720</code></li> 144 </ul> 145 146 <h3 class="rel-resources clearfloat"></h3> 147 148 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/extrascreen" data-sortorder="-timestamp" data-cardsizes="6x3,6x3,6x3" data-maxresults="6"></div> 149 150 <div class="headerLine"><h2 id="use-tablet-icons">4. </h2></div> 151 152 <div><img src="{@docRoot}design/media/devices_displays_density@2x.png" /></div> 153 154 <p><a href="{@docRoot}design/style/iconography.html"></a></p> 155 156 <p class="table-caption"><strong> 1</strong><table> 157 <tr> 158 <th></th> 159 <th></th> 160 <th></th> 161 <th>/</th> 162 <th></th> 163 </tr> 164 <tr> 165 <td><code>mdpi</code></td> 166 <td>48x48 </td> 167 <td>32x32 </td> 168 <td>16x16 </td> 169 <td>24x24 </td> 170 </tr> 171 <tr> 172 <td><code>hdpi</code></td> 173 <td>72x72 </td> 174 <td>48x48 </td> 175 <td>24x24 </td> 176 <td>36x36 </td> 177 </tr> 178 <tr> 179 <td><code>tvdpi</code></td> 180 <td><em> hdpi</em></td> 181 <td><em> hdpi</em></td> 182 <td><em> hdpi</em></td> 183 <td><em> hdpi</em></td> 184 </tr> 185 <tr> 186 <td><code>xhdpi</code></td> 187 <td>96x96 </td> 188 <td>64x64 </td> 189 <td>32x32 </td> 190 <td>48x48 </td> 191 </tr> 192 <tr> 193 <td><code>xxhdpi</code></td> 194 <td>144x144 </td> 195 <td>96x96 </td> 196 <td>48x48 </td> 197 <td>72x72 </td> 198 </tr> 199 200 </table> 201 202 <p> 203 <strong></strong> 204 </p> 205 <ul> 206 <li><code>hdpi</code></li> 207 <li><code>xhdpi</code></li> 208 <li><code>xxhdpi</code></li> 209 </ul> 210 211 <p></p> 212 213 <ul> 214 <li></li> 215 <li><a href="{@docRoot}guide/topics/resources/providing-resources.html#AlternativeResources"></a></li> 216 <li> <code>xhdpi</code> <code>xxhdpi</code> </li> 217 </ul> 218 219 <h3 class="rel-resources clearfloat"></h3> 220 221 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/assets" data-sortorder="-timestamp" data-cardsizes="9x3" data-maxresults="6"></div> 222 223 <div class="headerLine"><h2 id="adjust-font-sizes">5. </h2></div> 224 225 <p><a href="{@docRoot}guide/topics/ui/themes.html"></a><a href="{@docRoot}guide/topics/resources/more-resources.html#Dimension"></a></p> 226 227 <p></p> 228 <ul> 229 <li></li> 230 <li> 48dp 32dp<a href="{@docRoot}design/style/metrics-grids.html"></a></li> 231 <li> <code><a href="{@docRoot}reference/android/view/TouchDelegate.html">TouchDelegate</a></code> 48dp </li> 232 </ul> 233 234 <h3 class="rel-resources clearfloat"></h3> 235 236 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/fonts" data-sortorder="-timestamp" data-cardsizes="9x3,9x3,6x3,6x3,6x3" data-maxresults="6"></div> 237 238 <div class="headerLine"><h2 id="adjust-widgets">6. </h2></div> 239 240 <p></p> 241 242 <ul> 243 <li> 244 </li> 245 <li> 420dp 5 5 </li> 246 <li> 9-patch </li> 247 <li></li> 248 <li> <code>targetSdkVersion</code> 14 </li> 249 </ul> 250 251 <h3 class="rel-resources clearfloat"></h3> 252 253 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/widgets" data-sortorder="-timestamp" data-cardsizes="6x3" data-maxresults="6"></div> 254 255 256 <div class="headerLine"><h2 id="offer-full-feature-set">7. </h2></div> 257 258 <div class="centered-full-image" style="width:600px;margin:1.5em"><img src="{@docRoot}images/gp-tablets-full-feature-set.png" alt="" /></div> 259 260 <p></p> 261 262 <ul> 263 <li> 264 </li> 265 266 <li> 267 <ul> 268 <li> 269 </li> 270 271 <li> GPS GPS 272 </li> 273 </ul> 274 </li> 275 276 <li> 277 </li> 278 </ul> 279 280 <div class="headerLine"><h2 id="android-versions">8. Android </h2></div> 281 282 <p> 283 Android <a href="{@docRoot}about/versions/android-3.0.html">Android 3.0</a>API 11 <a href="{@docRoot}about/versions/android-4.0.html">Android 4.0</a> 284 </p> 285 286 <p> 287 <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html"><code><uses-sdk></code></a> Android <code>targetSdkVersion</code> API Android 288 </p> 289 290 <p style="margin-bottom:.5em"> 291 <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html"><code><uses-sdk></code></a> 292 </p> 293 294 <ol style="list-style-type:lower-alpha;margin-top:0em"> 295 <li> 296 11 <code>targetSdkVersion</code> 14 297 </li> 298 299 <li> 300 11 <code>minSdkVersion</code> 301 </li> 302 303 <li> <code>maxSdkVersion</code> 11 <code>maxSdkVersion</code><em></em> 304 </li> 305 </ol> 306 307 <h3 class="rel-resources clearfloat"></h3> 308 309 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/versions" data-sortorder="-timestamp" data-cardsizes="6x3" data-maxresults="6"></div> 310 311 <div class="headerLine"><h2 id="hardware-requirements">9. </h2></div> 312 313 <p> 314 WLAN 315 </p> 316 317 <p> 318 APK<em></em> 319 </p> 320 321 <ul> 322 <li> <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html"><code><uses-feature></code></a> 323 324 <ul> 325 <li><code>android.hardware.telephony</code></li> 326 <li><code>android.hardware.camera</code></li> 327 <li><code>android.hardware.camera.front</code></li> 328 </ul></li> 329 330 <li> <code>android:required=false</code> <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html"><code><uses-feature></code></a> <em></em> 331 332 <p> 333 <code>android.hardware.telephony</code> 334 </p> 335 336 <pre><uses-feature android:name="android.hardware.telephony" android:required="false" /></pre></li> 337 338 <li><a href="{@docRoot}guide/topics/manifest/uses-feature-element.html#permissions"></a> <a href="{@docRoot}guide/topics/manifest/permission-element.html"><code><permission></code></a> <code><uses-feature></code> <code>android:required=false</code> </li> 339 </ul> 340 341 342 <p> 343 <em></em> 344 </p> 345 346 <p> 347 GPS GPS 348 </p> 349 350 <h3 class="rel-resources clearfloat"></h3> 351 352 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/hardware" data-sortorder="-timestamp" data-cardsizes="9x3" data-maxresults="6"></div> 353 354 <div class="headerLine"><h2 id="support-screens">10. </h2></div> 355 356 <p></p> 357 358 <ul> 359 <li> <a href="{@docRoot}guide/topics/manifest/supports-screens-element.html"><code><supports-screens></code></a> <code>android:largeScreens="false"</code> <code>android:xlargeScreens="false"</code></li> 360 <li> <code>minSdkVersion</code> 13 <code>android:largeScreens="true"</code> <code>android:xlargeScreens="true"</code> <a href="{@docRoot}guide/topics/manifest/supports-screens-element.html"><code><supports-screens></code></a> </li> 361 </ul> 362 363 <p> <a href="{@docRoot}guide/topics/manifest/compatible-screens-element.html"><code><compatible-screens></code></a> <em></em> <a href="{@docRoot}guide/topics/manifest/compatible-screens-element.html"><code><compatible-screens></code></a> </p> 364 365 <h3 class="rel-resources clearfloat"></h3> 366 367 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/tabletscreens" data-sortorder="-timestamp" data-cardsizes="9x3,6x3,6x3" data-maxresults="6"></div> 368 369 370 <div class="headerLine"><h2 id="google-play">11. Google Play </h2></div> 371 372 <p> 373 Google Play 374 </p> 375 376 <div><img class="border-img" src="{@docRoot}images/gp-tablet-quality-4.jpg" /></div> 377 378 379 <h4> 380 381 </h4> 382 383 <p> 384 Google Play 385 </p> 386 387 <ul style="margin-top:0"> 388 <li> 389 </li> 390 391 <li> 7 10 392 </li> 393 394 <li> 395 </li> 396 397 <li></li> 398 399 <li> <strong>1280 x 720</strong> 400 </li> 401 402 <li> 7 8 10 8 403 </li> 404 </ul> 405 406 <h4> 407 408 </h4> 409 410 <ul> 411 <li> 412 </li> 413 414 <li> 415 </li> 416 </ul> 417 418 <h4> 419 420 </h4> 421 422 <p> 423 424 </p> 425 426 <ul> 427 <li> 428 </li> 429 430 <li> 10 431 </li> 432 433 <li> 434 </li> 435 436 <li> 437 </li> 438 </ul> 439 440 <h4> 441 442 </h4> 443 444 <p> 445 446 </p> 447 448 <ul> 449 <li></li> 450 451 <li> <a href="{@docRoot}distribute/tools/promote/device-art.html">Device Art Generator</a> 7 10 452 </li> 453 454 <li> Google Play <a href="{@docRoot}distribute/tools/promote/badges.html"></a> 455 </li> 456 </ul> 457 458 <h3 class="rel-resources clearfloat"></h3> 459 460 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/showcase/zhcn" data-sortorder="-timestamp" data-cardsizes="9x3,9x3,9x3,9x3" data-maxresults="6"></div> 461 462 <div class="headerLine"> 463 <h2 id="google-play-best-practices"> 464 12. Google Play </h2> 465 466 467 </div> 468 469 <p> 470 Google Play 471 </p> 472 473 <div> 474 <img class="border-img" src="{@docRoot}images/gp-tablet-quality-5.jpg" /> 475 </div> 476 477 <h4 id="google-play-optimization-tips"> 478 479 </h4> 480 481 <p>Google Play </p> 482 483 <div class="sidebox-wrapper"> 484 <div class="sidebox"> 485 <h2></h2> 486 487 <p></p> 488 489 <p></p> 490 491 <p><strong><a href="https://support.google.com/googleplay/android-developer/contact/tabletq" target="_googleplay" style="white-space:nowrap"> </a></strong></p> 492 </div> 493 </div> 494 495 <p></p> 496 497 <p></p> 498 499 <p><a href="https://support.google.com/googleplay/android-developer/contact/tabletq" target="_googleplay" style="white-space:nowrap"> </a> </p> 500 501 502 <h4></h4> 503 504 <p> 505 <a href="https://play.google.com/apps/publish/"></a> APK 506 </p> 507 508 <h4> APK </h4> 509 510 <p> 511 APK Google Play 512 </p> 513 514 <ul style="margin-top:.25em"> 515 <li> 516 </li> 517 518 <li> 519 </li> 520 521 <li> 522 </li> 523 524 <li> 525 </li> 526 </ul> 527 528 <p> 529 <a href="{@docRoot}google/play/publishing/multiple-apks.html"> APK </a> APK 530 </p> 531 532 <h3 class="rel-resources clearfloat"></h3> 533 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/googleplay" data-sortorder="-timestamp" data-cardsizes="9x3" data-maxresults="6"></div> 534 535 536 <div class="headerLine"> 537 <h2 id="test-environment"> 538 539 </h2> 540 541 542 </div> 543 544 <p> 545 546 </p> 547 548 <p> 549 <a href="{@docRoot}distribute/essentials/quality/core.html#test-environment"></a>/ 550 </p> 551 552 <p class="table-caption"><strong> 1</strong></p> 553 554 <table> 555 <tr> 556 <th></th> 557 <th></th> 558 <th></th> 559 <th></th> 560 <th>AVD </th> 561 </tr> 562 563 <tr> 564 <td>7 </td> 565 <td><span style="white-space:nowrap"><code>large</code> </span><br /><code>-sw600</code></td> 566 <td><code>hdpi</code><br /><code>tvdpi</code></td> 567 <td>Android 4.0 API 14 </td> 568 <td>WXGA800-7in</td> 569 </tr> 570 <tr> 571 <td><span style="white-space:nowrap">10 </span></td> 572 <td><span style="white-space:nowrap"><code>xlarge</code> </span><br /><code>-sw800</code></td> 573 <td><code>mdpi</code><br /><code>hdpi</code><br /><code>xhdpi</code></td> 574 <td>Android 3.2 API 13 </td> 575 <td>WXGA800</td> 576 </tr> 577 </table> 578 579 <div class="headerLine"><h2 id="related-resources"></h2></div> 580 581 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essentials/tabletguidelines/zhcn" data-sortorder="-timestamp" data-cardsizes="9x3" data-maxresults="6"></div> 582 </p></div> 583