summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-11-13 07:51:50 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-13 07:51:50 -0800
commit4856186d96a133042b5bbe32a6cbfec95427c3e5 (patch)
treea8bff6baedcbf0440867099c954240f7e2487559
parent16b554513e875083b733e448cf38053b15dac016 (diff)
parent67f46470a57287d9555333703c20ad4a4802bb4e (diff)
downloadframeworks_base-4856186d96a133042b5bbe32a6cbfec95427c3e5.zip
frameworks_base-4856186d96a133042b5bbe32a6cbfec95427c3e5.tar.gz
frameworks_base-4856186d96a133042b5bbe32a6cbfec95427c3e5.tar.bz2
am 67f46470: am 03fb5698: am 574c2cbf: Merge "docs: add templated tabs for jb highlights" into jb-mr1-dev
* commit '67f46470a57287d9555333703c20ad4a4802bb4e': docs: add templated tabs for jb highlights
-rw-r--r--docs/html/about/versions/jelly-bean.jd45
-rw-r--r--docs/html/tools/index.jd6
2 files changed, 10 insertions, 41 deletions
diff --git a/docs/html/about/versions/jelly-bean.jd b/docs/html/about/versions/jelly-bean.jd
index 60e76f4..19e73fe 100644
--- a/docs/html/about/versions/jelly-bean.jd
+++ b/docs/html/about/versions/jelly-bean.jd
@@ -1,37 +1,13 @@
page.title=Jelly Bean
+tab1=Android 4.2
+tab1.link=#android-42
+tab2=Android 4.1
+tab2.link=#android-41
+
@jd:body
<style>
-h1 {
- margin-bottom:0;
-}
-ul#version-tabs {
- list-style:none;
- border-bottom: 1px solid #93C;
- padding:0;
- height:29px;
- margin:0 0 20px;
- font-size:16px;
- line-height:26px;
-}
-ul#version-tabs li {
- display:block;
- float:left;
- margin-right:60px;
- border-bottom: 3px solid transparent;
-}
-ul#version-tabs li.selected {
- border-bottom: 3px solid #93C;
-}
-ul#version-tabs li a {
- color:#333;
-}
-ul#version-tabs li a:hover,
-ul#version-tabs li a:active {
- color:#93C !important;
-}
-
#android-41 {display:none;}
</style>
@@ -39,7 +15,7 @@ ul#version-tabs li a:active {
function revealSection(hashy) {
if (hashy != "" && !$(hashy).is(":visible")) {
sectionId = $(hashy).closest(".version-section").attr("id");
- link = $("#version-tabs a[href$="+sectionId+"]");
+ link = $("#title-tabs a[href$="+sectionId+"]");
link.parent().addClass("selected");
link.parent().siblings().removeClass("selected");
@@ -56,7 +32,7 @@ function revealSection(hashy) {
}
$(document).ready(function() {
- $("#version-tabs li a").each(function() {
+ $("#title-tabs li a").each(function() {
$(this).click(function(){
$(this).parent().addClass("selected");
$(this).parent().siblings().removeClass("selected");
@@ -78,13 +54,6 @@ window.onhashchange = function () {
-<ul id="version-tabs">
- <li class="selected"><a href="#android-42">Android 4.2</a></li>
- <li><a href="#android-41">Android 4.1</a></li>
-</ul>
-
-
-
<!-- BEGIN ANDROID 4.2 -->
<div id="android-42" class="version-section">
<div style="float:right;padding:0px 0px 12px 34px;">
diff --git a/docs/html/tools/index.jd b/docs/html/tools/index.jd
index 38401aa..f9d452c 100644
--- a/docs/html/tools/index.jd
+++ b/docs/html/tools/index.jd
@@ -51,11 +51,11 @@ page.title=Developer Tools
<li>Quickly capture bug reports onto the device.</li>
<li>Show CPU usage on screen.</li>
<li>Draw debugging information on screen such as layout bounds,
- updates on GPU views and hardware layers, touch location, and others.</li>
+ updates on GPU views and hardware layers, and other information.</li>
<li>Plus many more options to simulate app stresses or enable debugging options.</li>
</ul>
-<p>To access these on your device, open the <em>Developer options</em> in the
-system Settings. Note that on Android 4.2 and higher, the Developer options screen is
+<p>To access these settings, open the <em>Developer options</em> in the
+system Settings. On Android 4.2 and higher, the Developer options screen is
hidden by default. To make it available, go to
<b>Settings > About phone</b> and tap <b>Build number</b> seven times. Return to the previous
screen to find Developer options.</p>