<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="overlaid-controls" lang="gl">

  <info>
    <link type="guide" xref="patterns#secondary"/>
    <desc>Floating controls, often used for images and video controls</desc>
    <credit type="author">
      <name>Allan Day</name>
      <email>aday@gnome.org</email>
    </credit>
    <license xmlns="http://projectmallard.org/1.0/" href="http://creativecommons.org/licenses/by-sa/4.0/">

  <p>This work is licensed under a
  <link href="http://creativecommons.org/licenses/by-sa/4.0/">Creative
  Commons Attribution-Share Alike 4.0 International License</link>.</p>

</license>
  <credit type="translator copyright"><name>Fran Dieguez</name><email>frandieguez@gnome.org</email><years>2019.</years></credit></info>

<title>Overlaid controls</title>

<media type="image" mime="image/svg" src="figures/patterns/overlaid-controls.svg"/>

<p>Transient controls that float over content are a common pattern for applications that show images or video.</p>

<section id="when-to-use">
<title>Cando usala</title>

<p>Since overlaid controls hide when they are not in use, they help to provide an uncluttered viewing experience. They are appropriate when it is desirable to present a clean and distraction-free view on a content item — this is particularly (although not exclusively) appropriate for images and video.</p>

<p>Overlaid controls may be inappropriate if they obscure relevant parts of the content below. Image editing controls may interfere with the ability to see their effects, for example. In these cases, controls should not be overlaid.</p>

</section>

<section id="guidelines">
<title>Liñas de guía</title>

<list>
<item><p>Follow established conventions for this type of control, such as left/right browse buttons in image viewers, and player controls at the bottom for video.</p></item>
<item><p>Controls should be displayed when the pointer is moved over the content, or when it is tapped (on touch devices).</p></item>
<item><p>Overlaid controls can be attached to the edge of the content/window, or can be free-floating. <link xref="action-bars">Action bars</link> can be treated as overlaid controls.</p></item>
<item><p>Use the standard “OSD” theme style for overlaid controls.</p></item>
</list>

</section>

</page>
