Dirk Dougherty a97e177857 Merge commit '47d3eaf6' into manualmerge
Conflicts:
	docs/html/design/patterns/accessibility.jd
	docs/html/design/patterns/actionbar.jd
	docs/html/design/patterns/compatibility.jd
	docs/html/design/patterns/multi-pane-layouts.jd
	docs/html/design/style/iconography.jd

Change-Id: I349cf8ebc159c0a7ef0796900e2d11fe6e0c888a
2014-02-12 19:31:15 -08:00

57 lines
1.5 KiB
Plaintext

page.title=Switches
page.tags=switch,checkbox,radiobutton,button
@jd:body
<p>Switches allow the user to select options. There are three kinds of switches: checkboxes, radio
buttons, and on/off switches.</p>
<h2 id="checkboxes">Checkboxes</h2>
<a class="notice-developers" href="{@docRoot}guide/topics/ui/controls/checkbox.html">
<div>
<h3>Developer Docs</h3>
<p>Checkboxes</p>
</div>
</a>
<p itemprop="description">Checkboxes allow the user to select multiple options from a set. Avoid using a single checkbox to
turn an option off or on. Instead, use an on/off switch.</p>
<img src="{@docRoot}design/media/switches_checkboxes.png">
<h2 id="radio-buttons">Radio Buttons</h2>
<a class="notice-developers" href="{@docRoot}guide/topics/ui/controls/radiobutton.html">
<div>
<h3>Developer Docs</h3>
<p>Radio Buttons</p>
</div>
</a>
<p>Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive
selection if you think that the user needs to see all available options side-by-side. Otherwise,
consider a spinner, which uses less space.</p>
<img src="{@docRoot}design/media/switches_radios.png">
<h2 id="switches">On/off Switches</h2>
<a class="notice-developers" href="{@docRoot}guide/topics/ui/controls/togglebutton.html">
<div>
<h3>Developer Docs</h3>
<p>Toggle Buttons</p>
</div>
</a>
<p>On/off switches toggle the state of a single settings option.</p>
<img src="{@docRoot}design/media/switches_switches.png">