summaryrefslogtreecommitdiff
path: root/docs/html/preview/index.jd
blob: b0631add8b13c5c37323832eaa265786692ed750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
page.title=Android N Developer Preview
page.tags="preview","developer"
meta.tags="preview", "android"
fullpage=true
forcelocalnav=true
header.hide=1
footer.hide=1
@jd:body

<script>
  $(document).ready(function() {
    if (useUpdatedTemplates) {
      $("#useUpdatedTemplates").css("display","block");
    } else {
      $("#useOldTemplates").css("display","block");
    }
  })
</script>

<section class="dac-expand dac-hero dac-light" style="background-color:#B2DFDB">
  <div class="wrap" style="max-width:1100px;margin-top:0">
    <div class="cols dac-hero-content" style="padding-bottom:1em;">

      <div class="col-7of16 col-push-9of16" style="padding-left:2em">
        <h1 class="dac-hero-title">Android N Developer Preview</h1>
        <p class="dac-hero-description">
          Get ready for Android N!
          <strong>Test your apps</strong> on Nexus and other devices. Support new system
          behaviors to <strong>save power and memory</strong>.
          Extend your apps with <strong>multi-window UI</strong>,
          <strong>direct reply notifications</strong> and more.
        </p>

        <a class="dac-hero-cta" href="{@docRoot}preview/overview.html">
          <span class="dac-sprite dac-auto-chevron"></span>
          Get started
        </a><!--<br>
        <a class="dac-hero-cta" href="{@docRoot}preview/support.html">
          <span class="dac-sprite dac-auto-chevron"></span>
          Update to Android N (final SDK)
        </a><br>-->
      </div>
      <div class="col-9of16 col-pull-7of16 dac-hero-figure" style="margin-top:1.5em;padding-right:1.5em;">
        <img class="dac-hero-image" src="{@docRoot}images/home/n-preview-hero.png"
             srcset="{@docRoot}images/home/n-preview-hero.png 1x,
             {@docRoot}images/home/n-preview-hero_2x.png 2x">
      </div>
    </div>
    <div class="dac-section dac-small">
      <div class="resource-widget resource-flow-layout col-16"
           data-query="collection:preview/landing/resources"
           data-cardSizes="6x2"
           data-maxResults="6"></div>
    </div>
  </div>
</section>

<div id="useUpdatedTemplates" style="display:none" class="dac-section dac-slim dac-gray dac-expand">
  <div class="wrap dac-offset-parent">
    <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
      <i class="dac-sprite dac-arrow-down-gray"></i>
    </a>
    <ul class="dac-actions">
      <li class="dac-action">
        <a class="dac-action-link" href="https://developer.android.com/preview/bug">
          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
          Report an issue
        </a>
      </li>
      <li class="dac-action">
        <a class="dac-action-link" href="{@docRoot}preview/support.html">
          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
          See release notes
        </a>
      </li>
      <li class="dac-action">
        <a class="dac-action-link" href="{@docRoot}preview/dev-community">
          <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
          Join dev community
        </a>
      </li>
    </ul>
  </div><!-- end .wrap -->
</div><!-- end .dac-actions -->

<div id="useOldTemplates" style="display:none;color:black" class="actions-bar dac-expand dac-invert">
  <div class="wrap dac-offset-parent">

    <div class="actions">
      <div><a href="https://developer.android.com/preview/bug">
        <span class="dac-sprite dac-auto-chevron-large"></span>
        Report an issue
      </a></div>
      <div><a href="{@docRoot}preview/support.html">
        <span class="dac-sprite dac-auto-chevron-large"></span>
        See release notes
      </a></div>
      <div><a href="{@docRoot}preview/dev-community">
        <span class="dac-sprite dac-auto-chevron-large"></span>
        Join dev community
      </a></div>
    </div><!-- end .actions -->
  </div><!-- end .wrap -->
</div>

<section class="dac-section dac-light dac-small" id="latest"><div class="wrap">
  <h2 class="norule">Latest</h2>
  <div class="resource-widget resource-flow-layout col-16"
    data-query="type:blog+tag:androidn+tag:featured, type:youtube+tag:androidn+tag:featured"
    data-sortOrder="-timestamp"
    data-cardSizes="6x6"
    data-items-per-page="6"
    data-maxResults="15"
    data-initial-results="3"></div>
</div></section>

<section class="dac-section dac-gray"><div class="wrap">
  <h1 class="dac-section-title">Resources</h1>
  <div class="dac-section-subtitle">
    Essential information to help you get your apps ready for Android N.
  </div>

  <div class="resource-widget resource-flow-layout col-16"
       data-query="collection:preview/landing/more"
       data-cardSizes="6x6"
       data-items-per-page="6"
       data-maxResults="15"
       data-initial-results="6"></div>

  </div>
</section>