blob: 838ddbe2868d4a68fdde567a7192ffd48ddb912d [file] [log] [blame]
Ben Dodson4dbb28a2010-08-10 18:22:55 -07001<?cs def:custom_masthead() ?>
Scott Main01a25452013-02-12 17:32:27 -08002<a name="top"></a>
Dirk Doughertyb87e3002014-11-18 19:34:34 -08003
Joe Fernandeza9d796a2015-05-05 22:07:42 -07004<!-- dialog to prompt lang pref change when loaded from hardcoded URL
Dirk Doughertyb87e3002014-11-18 19:34:34 -08005<div id="langMessage" style="display:none">
6 <div>
7 <div class="lang en">
8 <p>You requested a page in English, would you like to proceed with this language setting?</p>
9 </div>
10 <div class="lang es">
11 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p>
12 </div>
13 <div class="lang ja">
14 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p>
15 </div>
16 <div class="lang ko">
17 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p>
18 </div>
19 <div class="lang ru">
20 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p>
21 </div>
22 <div class="lang zh-cn">
23 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p>
24 </div>
25 <div class="lang zh-tw">
26 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p>
27 </div>
28 <a href="#" class="button yes" onclick="return false;">
29 <span class="lang en">Yes</span>
30 <span class="lang es">Sí</span>
31 <span class="lang ja">Yes</span>
32 <span class="lang ko">Yes</span>
33 <span class="lang ru">Yes</span>
34 <span class="lang zh-cn">是的</span>
35 <span class="lang zh-tw">没有</span>
36 </a>
37 <a href="#" class="button" onclick="$('#langMessage').hide();return false;">
38 <span class="lang en">No</span>
39 <span class="lang es">No</span>
40 <span class="lang ja">No</span>
41 <span class="lang ko">No</span>
42 <span class="lang ru">No</span>
43 <span class="lang zh-cn">没有</span>
44 <span class="lang zh-tw">没有</span>
45 </a>
46 </div>
47</div> -->
48
Dirk Doughertyc3921652014-05-13 16:55:26 -070049<?cs if:!devsite ?><?cs # leave out the global header for devsite; it is in devsite template ?>
50 <!-- Header -->
51 <div id="header-wrapper">
Dirk Dougherty29e93432015-05-05 18:17:13 -070052 <div class="dac-header" id="header"><?cs call:butter_bar() ?>
53 <div class="dac-header-inner">
54 <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation">
55 <span class="dac-nav-hamburger">
56 <span class="dac-nav-hamburger-top"></span>
57 <span class="dac-nav-hamburger-mid"></span>
58 <span class="dac-nav-hamburger-bot"></span>
59 </span>
60 </a>
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070061 <?cs if:ndk ?><a class="dac-header-logo" href="<?cs var:toroot ?>ndk/index.html">
62 <img class="dac-header-logo-image" src="<?cs var:toroot ?>assets/images/android_logo_ndk.png"
63 srcset="<?cs var:toroot ?>assets/images/android_logo_ndk@2x.png 2x"
64 width="32" height="36" alt="Android" /> NDK
65 </a><?cs else ?><a class="dac-header-logo" href="<?cs var:toroot ?>index.html">
Dirk Dougherty29e93432015-05-05 18:17:13 -070066 <img class="dac-header-logo-image" src="<?cs var:toroot ?>assets/images/android_logo.png"
67 srcset="<?cs var:toroot ?>assets/images/android_logo@2x.png 2x"
68 width="32" height="36" alt="Android" /> Developers
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070069 </a><?cs /if ?>
Dirk Doughertyc3921652014-05-13 16:55:26 -070070
Dirk Dougherty29e93432015-05-05 18:17:13 -070071 <ul class="dac-header-crumbs">
72 <?cs # More <li> elements added here with javascript ?>
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070073 <?cs if:!section.landing ?><li class="dac-header-crumbs-item"><span class="dac-header-crumbs-link current <?cs
74 if:ndk ?>ndk<?cs /if ?>"><?cs var:page.title ?></a></li><?cs
Dirk Dougherty29e93432015-05-05 18:17:13 -070075 /if ?>
76 </ul>
Dirk Doughertyc3921652014-05-13 16:55:26 -070077
78 <?cs # ADD SEARCH AND MENU ?>
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070079 <?cs if:!ndk ?>
Dirk Doughertyc3921652014-05-13 16:55:26 -070080 <?cs call:header_search_widget() ?>
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070081 <?cs /if ?>
Dirk Doughertyc3921652014-05-13 16:55:26 -070082
Dirk Doughertycbe032f2015-05-22 11:41:40 -070083 <?cs if:ndk ?><a class="dac-header-console-btn" href="http://developer.android.com">
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070084 <span class="dac-visible-desktop-inline">Back to Android Developers</span>
Dirk Doughertycbe032f2015-05-22 11:41:40 -070085 </a><?cs else ?><a class="dac-header-console-btn" href="https://play.google.com/apps/publish/">
Dirk Dougherty29e93432015-05-05 18:17:13 -070086 <span class="dac-sprite dac-google-play"></span>
87 <span class="dac-visible-desktop-inline">Developer</span>
88 Console
Dirk Doughertycf7a3b92015-05-21 00:52:33 -070089 </a><?cs /if ?>
90
Dirk Doughertyc3921652014-05-13 16:55:26 -070091 </div><!-- end header-wrap.wrap -->
92 </div><!-- end header -->
93
Dirk Doughertyc3921652014-05-13 16:55:26 -070094 <div id="searchResults" class="wrap" style="display:none;">
95 <h2 id="searchTitle">Results</h2>
96 <div id="leftSearchControl" class="search-control">Loading...</div>
97 </div>
98 </div> <!--end header-wrapper -->
Scott Main01a25452013-02-12 17:32:27 -080099
Dirk Doughertycf7a3b92015-05-21 00:52:33 -0700100 <?cs if:ndk ?>
101 <!-- NDK Navigation-->
102 <nav class="dac-nav">
103 <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
104
105 <ul class="dac-nav-list" data-dac-nav>
106 <li class="dac-nav-item dac-nav-head">
107 <a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascript:;" title="Close navigation">
108 <img class="dac-logo-image" src="<?cs var:toroot ?>assets/images/android_logo_ndk.png"
109 srcset="<?cs var:toroot ?>assets/images/android_logo_ndk@2x.png 2x"
110 width="32" height="36" alt="Android" /> NDK
111 </a>
112 </li>
113 <li class="dac-nav-item guides">
114 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/guides/index.html"
115 zh-tw-lang="API 指南"
116 zh-cn-lang="API 指南"
117 ru-lang="Руководства по API"
118 ko-lang="API 가이드"
119 ja-lang="API ガイド"
120 es-lang="Guías de la API">Guides</a>
121 </li>
122 <li class="dac-nav-item reference">
123 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/reference/index.html"
124 zh-tw-lang="參考資源"
125 zh-cn-lang="参考"
126 ru-lang="Справочник"
127 ko-lang="참조문서"
128 ja-lang="リファレンス"
129 es-lang="Referencia">Reference</a>
130 </li>
131 <li class="dac-nav-item samples">
132 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/samples/index.html"
133 >Samples</a>
134 </li>
135 <li class="dac-nav-item downloads">
136 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/downloads/index.html"
137 >Downloads</a>
138 </li>
139 </ul>
140 </nav>
141 <!-- end NDK navigation-->
142 <?cs else ?>
Dirk Dougherty29e93432015-05-05 18:17:13 -0700143 <!-- Navigation-->
144 <nav class="dac-nav">
145 <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
Dirk Doughertyc3921652014-05-13 16:55:26 -0700146
Dirk Dougherty29e93432015-05-05 18:17:13 -0700147 <ul class="dac-nav-list" data-dac-nav>
148 <li class="dac-nav-item dac-nav-head">
149 <a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascript:;" title="Close navigation">
150 <img class="dac-logo-image" src="<?cs var:toroot ?>assets/images/android_logo.png"
151 srcset="<?cs var:toroot ?>assets/images/android_logo@2x.png 2x"
152 width="32" height="36" alt="Android" /> Developers
153 </a>
154 </li>
155 <li class="dac-nav-item home">
156 <a class="dac-nav-link dac-visible-mobile-block" href="<?cs var:toroot ?>index.html">Home</a>
157 <ul class="dac-nav-secondary about">
158 <li class="dac-nav-item about">
Dirk Doughertya8bbfca2015-05-14 22:58:28 -0700159 <a class="dac-nav-link" href="<?cs var:toroot ?>about/index.html">Android</a>
Dirk Dougherty29e93432015-05-05 18:17:13 -0700160 </li>
161 <li class="dac-nav-item wear">
162 <a class="dac-nav-link" href="<?cs var:toroot ?>wear/index.html">Wear</a>
163 </li>
164 <li class="dac-nav-item tv">
165 <a class="dac-nav-link" href="<?cs var:toroot ?>tv/index.html">TV</a>
166 </li>
167 <li class="dac-nav-item auto">
168 <a class="dac-nav-link" href="<?cs var:toroot ?>auto/index.html">Auto</a>
169 </li>
170 </ul>
171 </li>
172 <li class="dac-nav-item design">
173 <a class="dac-nav-link" href="<?cs var:toroot ?>design/index.html"
174 zh-tw-lang="設計"
175 zh-cn-lang="设计"
176 ru-lang="Проектирование"
177 ko-lang="디자인"
178 ja-lang="設計"
179 es-lang="Diseñar">Design</a>
180 </li>
181 <li class="dac-nav-item develop">
182 <a class="dac-nav-link" href="<?cs var:toroot ?>develop/index.html"
183 zh-tw-lang="開發"
184 zh-cn-lang="开发"
185 ru-lang="Разработка"
186 ko-lang="개발"
187 ja-lang="開発"
188 es-lang="Desarrollar">Develop</a>
189 <ul class="dac-nav-secondary develop">
190 <li class="dac-nav-item training">
191 <a class="dac-nav-link" href="<?cs var:toroot ?>training/index.html"
192 zh-tw-lang="訓練課程"
193 zh-cn-lang="培训"
194 ru-lang="Курсы"
195 ko-lang="교육"
196 ja-lang="トレーニング"
197 es-lang="Capacitación">Training</a>
198 </li>
199 <li class="dac-nav-item guide">
200 <a class="dac-nav-link" href="<?cs var:toroot ?>guide/index.html"
201 zh-tw-lang="API 指南"
202 zh-cn-lang="API 指南"
203 ru-lang="Руководства по API"
204 ko-lang="API 가이드"
205 ja-lang="API ガイド"
206 es-lang="Guías de la API">API Guides</a>
207 </li>
208 <li class="dac-nav-item reference">
209 <a class="dac-nav-link" href="<?cs var:toroot ?>reference/packages.html"
210 zh-tw-lang="參考資源"
211 zh-cn-lang="参考"
212 ru-lang="Справочник"
213 ko-lang="참조문서"
214 ja-lang="リファレンス"
215 es-lang="Referencia">Reference</a>
216 </li>
217 <li class="dac-nav-item tools">
218 <a class="dac-nav-link" href="<?cs var:toroot ?>sdk/index.html"
219 zh-tw-lang="相關工具"
220 zh-cn-lang="工具"
221 ru-lang="Инструменты"
222 ko-lang="도구"
223 ja-lang="ツール"
224 es-lang="Herramientas">Tools</a></li>
225 <li class="dac-nav-item google">
226 <a class="dac-nav-link" href="<?cs var:toroot ?>google/index.html">Google Services</a>
227 </li>
228 <?cs if:android.hasSamples ?>
229 <li class="dac-nav-item samples">
230 <a class="dac-nav-link" href="<?cs var:toroot ?>samples/index.html">Samples</a>
231 </li>
232 <?cs /if ?>
Joe Fernandeza9d796a2015-05-05 22:07:42 -0700233 <li class="dac-nav-item preview">
Dirk Doughertya8bbfca2015-05-14 22:58:28 -0700234 <a class="dac-nav-link" href="<?cs var:toroot ?>preview/index.html">Preview</a>
Joe Fernandeza9d796a2015-05-05 22:07:42 -0700235 </li>
Dirk Dougherty29e93432015-05-05 18:17:13 -0700236 </ul>
237 </li>
238 <li class="dac-nav-item distribute">
239 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/<?cs if:android.whichdoc == 'offline' ?>googleplay/<?cs /if ?>index.html"
240 zh-tw-lang="發佈"
241 zh-cn-lang="分发"
242 ru-lang="Распространение"
243 ko-lang="배포"
244 ja-lang="配布"
245 es-lang="Distribuir">Distribute</a>
246 <ul class="dac-nav-secondary distribute">
247 <li class="dac-nav-item googleplay">
248 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/googleplay/index.html">Google Play</a></li>
249 <li class="dac-nav-item essentials">
250 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/essentials/index.html">Essentials</a></li>
251 <li class="dac-nav-item users">
252 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/users/index.html">Get Users</a></li>
253 <li class="dac-nav-item engage">
254 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/engage/index.html">Engage &amp; Retain</a></li>
255 <li class="dac-nav-item monetize">
Dirk Doughertya8bbfca2015-05-14 22:58:28 -0700256 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/monetize/index.html">Earn</a>
Dirk Dougherty29e93432015-05-05 18:17:13 -0700257 </li>
258 <li class="dac-nav-item analyze">
259 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/analyze/index.html">Analyze</a>
260 </li>
Dirk Dougherty29e93432015-05-05 18:17:13 -0700261 <li class="dac-nav-item stories">
262 <a class="dac-nav-link" href="<?cs var:toroot ?>distribute/stories/index.html">Stories</a>
263 </li>
264 </ul>
265 </li>
266 </ul>
267 </nav>
268 <!-- end navigation-->
Dirk Doughertycf7a3b92015-05-21 00:52:33 -0700269 <?cs /if ?>
Robert Lye7eeb402014-06-03 19:35:24 -0700270<?cs /if ?><?cs # end if/else !devsite ?>
Robert Lye7eeb402014-06-03 19:35:24 -0700271
Joe Fernandeza9d796a2015-05-05 22:07:42 -0700272<?cs
273/def ?><?cs # end custom_masthead() ?>
smain@google.comee5b3b12014-10-14 18:47:36 -0700274
275
276<?cs # (UN)COMMENT THE INSIDE OF THIS METHOD TO TOGGLE VISIBILITY ?>
277<?cs def:butter_bar() ?>
smain@google.comc69af6f2014-10-15 12:48:58 -0700278
279<?cs # HIDE THE BUTTER BAR
280
smain@google.comee5b3b12014-10-14 18:47:36 -0700281 <div style="height:20px"><!-- spacer to bump header down --></div>
282 <div id="butterbar-wrapper">
283 <div id="butterbar">
284 <a href="http://googleblog.blogspot.com/" id="butterbar-message">
Dirk Dougherty29e93432015-05-05 18:17:13 -0700285 The Android 5.0 SDK will be available on October 17th!
smain@google.comee5b3b12014-10-14 18:47:36 -0700286 </a>
287 </div>
288 </div>
smain@google.comc69af6f2014-10-15 12:48:58 -0700289
Joe Fernandeza9d796a2015-05-05 22:07:42 -0700290?>
smain@google.comc69af6f2014-10-15 12:48:58 -0700291
Dirk Doughertyb87e3002014-11-18 19:34:34 -0800292<?cs /def ?>