1page.title=Android N Developer Preview
2page.tags="preview","developer"
3meta.tags="preview", "android"
4fullpage=true
5forcelocalnav=true
6header.hide=1
7footer.hide=1
8@jd:body
9
10<script>
11  $(document).ready(function() {
12    if (useUpdatedTemplates) {
13      $("#useUpdatedTemplates").css("display","block");
14    } else {
15      $("#useOldTemplates").css("display","block");
16    }
17  })
18</script>
19
20<section class="dac-expand dac-hero dac-light" style="background-color:#B2DFDB">
21  <div class="wrap" style="max-width:1100px;margin-top:0">
22    <div class="cols dac-hero-content" style="padding-bottom:1em;">
23
24      <div class="col-7of16 col-push-9of16" style="padding-left:2em">
25        <h1 class="dac-hero-title">Android N Developer Preview</h1>
26        <p class="dac-hero-description">
27          为 Android N 进行准备!
28          在 Nexus 和其他设备上<strong>测试您的应用</strong>。支持新系统行为以<strong>节省电量和内存</strong>。
29
30          使用<strong>多窗口 UI</strong> 扩展您的应用,以便能够<strong>直接答复通知</strong>及执行其他操作。
31
32        </p>
33
34        <a class="dac-hero-cta" href="{@docRoot}preview/overview.html">
35          <span class="dac-sprite dac-auto-chevron"></span>
36          入门指南
37        </a><!--<br>
38        <a class="dac-hero-cta" href="{@docRoot}preview/support.html">
39          <span class="dac-sprite dac-auto-chevron"></span>
40          Update to Android N (final SDK)
41        </a><br>-->
42      </div>
43      <div class="col-9of16 col-pull-7of16 dac-hero-figure" style="margin-top:1.5em;padding-right:1.5em;">
44        <img class="dac-hero-image" src="{@docRoot}images/home/n-preview-hero.png" srcset="{@docRoot}images/home/n-preview-hero.png 1x,
45             {@docRoot}images/home/n-preview-hero_2x.png 2x">
46      </div>
47    </div>
48    <div class="dac-section dac-small">
49      <div class="resource-widget resource-flow-layout col-16"
50           data-query="collection:preview/landing/resources"
51           data-cardSizes="6x2"
52           data-maxResults="6"></div>
53    </div>
54  </div>
55</section>
56
57<div id="useUpdatedTemplates" style="display:none" class="dac-section dac-slim dac-gray dac-expand">
58  <div class="wrap dac-offset-parent">
59    <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
60      <i class="dac-sprite dac-arrow-down-gray"></i>
61    </a>
62    <ul class="dac-actions">
63      <li class="dac-action">
64        <a class="dac-action-link" href="https://developer.android.com/preview/bug">
65          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
66          报告问题
67        </a>
68      </li>
69      <li class="dac-action">
70        <a class="dac-action-link" href="{@docRoot}preview/support.html">
71          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
72          查阅版本说明
73        </a>
74      </li>
75      <li class="dac-action">
76        <a class="dac-action-link" href="{@docRoot}preview/dev-community">
77          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
78          加入开发者社区
79        </a>
80      </li>
81    </ul>
82  </div><!-- end .wrap -->
83</div><!-- end .dac-actions -->
84
85<div id="useOldTemplates" style="display:none;color:black" class="actions-bar dac-expand dac-invert">
86  <div class="wrap dac-offset-parent">
87
88    <div class="actions">
89      <div><a href="https://developer.android.com/preview/bug">
90        <span class="dac-sprite dac-auto-chevron-large"></span>
91        报告问题
92      </a></div>
93      <div><a href="{@docRoot}preview/support.html">
94        <span class="dac-sprite dac-auto-chevron-large"></span>
95        查阅版本说明
96      </a></div>
97      <div><a href="{@docRoot}preview/dev-community">
98        <span class="dac-sprite dac-auto-chevron-large"></span>
99        加入开发者社区</a>
100</div>
101    </div><!-- end .actions -->
102  </div><!-- end .wrap -->
103</div>
104
105<section class="dac-section dac-light dac-small" id="latest"><div class="wrap">
106  <h2 class="norule">最新</h2>
107  <div class="resource-widget resource-flow-layout col-16"
108    data-query="type:blog+tag:androidn+tag:featured, type:youtube+tag:androidn+tag:featured"
109    data-sortOrder="-timestamp"
110    data-cardSizes="6x6"
111    data-items-per-page="6"
112    data-maxResults="15"
113    data-initial-results="3"></div>
114</div></section>
115
116<section class="dac-section dac-gray"><div class="wrap">
117  <h1 class="dac-section-title">资源</h1>
118  <div class="dac-section-subtitle">
119    这些必备信息可帮助您的应用为Android N做好准备。
120  </div>
121
122  <div class="resource-widget resource-flow-layout col-16"
123       data-query="collection:preview/landing/more"
124       data-cardSizes="6x6"
125       data-items-per-page="6"
126       data-maxResults="15"
127       data-initial-results="6"></div>
128
129  </div>
130</section>
131
132