am 641c2c2f: clarify the hidden APIs in reference with better tooltips

* commit '641c2c2fdaf68fa48b044177fef7c890a42c8a11':
  clarify the hidden APIs in reference with better tooltips
This commit is contained in:
Scott Main 2013-11-12 20:18:38 +00:00 committed by Android Git Automerger
commit faff9f52c1
2 changed files with 5 additions and 3 deletions

View file

@ -2382,7 +2382,8 @@ function toggleVisisbleApis(selectedLevel, context) {
// Grey things out that aren't available and give a tooltip title // Grey things out that aren't available and give a tooltip title
if (apiLevelNum > selectedLevelNum) { if (apiLevelNum > selectedLevelNum) {
obj.addClass("absent").attr("title","Requires API Level \"" obj.addClass("absent").attr("title","Requires API Level \""
+ apiLevel + "\" or higher"); + apiLevel + "\" or higher. To reveal, change the target API level "
+ "above the left navigation.");
} }
else obj.removeClass("absent").removeAttr("title"); else obj.removeClass("absent").removeAttr("title");
}); });

View file

@ -214,7 +214,8 @@ def:default_left_nav() ?>
<a class="totop" href="#top" data-g-event="left-nav-top">to top</a> <a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
<div id="api-nav-header"> <div id="api-nav-header">
<div id="api-level-toggle"> <div id="api-level-toggle">
<label for="apiLevelCheckbox" class="disabled">API level: </label> <label for="apiLevelCheckbox" class="disabled"
title="Select your target API level to dim unavailable APIs">API level: </label>
<div class="select-wrapper"> <div class="select-wrapper">
<select id="apiLevelSelector"> <select id="apiLevelSelector">
<!-- option elements added by buildApiLevelSelector() --> <!-- option elements added by buildApiLevelSelector() -->