blob: 13b3b09fe28be2f23d3d329cf4d664107ca5e811 [file] [log] [blame]
Roman Nurikb99ae732012-03-06 12:26:15 -08001page.title=Scrolling
Scott Main36c27c42013-03-18 14:52:45 -07002page.tags="scrollview","listview"
Roman Nurikb99ae732012-03-06 12:26:15 -08003@jd:body
4
5<p>Scrolling allows the user to navigate to content in the overflow using a swipe gesture. The
6scrolling speed is proportional to the speed of the gesture.</p>
7<h2 id="indicator">Scroll Indicator</h2>
8
9<p>Appears during scrolling to indicate what portion of the content is currently in view.</p>
10
Dirk Dougherty0b734032013-10-19 11:43:41 -070011<div class="framed-nexus5-land-span-13">
Roman Nurikb99ae732012-03-06 12:26:15 -080012 <video class="play-on-hover" autoplay>
13 <source src="{@docRoot}design/media/scroll_indicator.mp4" type="video/mp4">
14 <source src="{@docRoot}design/media/scroll_indicator.webm" type="video/webm">
15 <source src="{@docRoot}design/media/scroll_indicator.ogv" type="video/ogg">
16 </video>
17</div>
18<div class="figure-caption">
19 <div class="video-instructions">&nbsp;</div>
20</div>
21
22<h2 id="index-scrolling">Index Scrolling</h2>
23
24<p>In addition to traditional scrolling, a long alphabetical list can also offer index scrolling: a way
25to quickly navigate to the items that begin with a particular letter. With index scrolling, a scroll
26indicator appears even when the user isn't scrolling. Touching or dragging it causes the current
27letter to pop up in a prominent way.</p>
28
Dirk Dougherty0b734032013-10-19 11:43:41 -070029<div class="framed-nexus5-land-span-13">
Roman Nurikb99ae732012-03-06 12:26:15 -080030 <video class="play-on-hover" autoplay>
31 <source src="{@docRoot}design/media/scroll_index.mp4" type="video/mp4">
32 <source src="{@docRoot}design/media/scroll_index.webm" type="video/webm">
33 <source src="{@docRoot}design/media/scroll_index.ogv" type="video/ogg">
34 </video>
35</div>
36<div class="figure-caption">
37 <div class="video-instructions">&nbsp;</div>
38</div>