launcher-docs/public/docs/widgets/index.html
2025-05-24 17:28:49 +02:00

404 lines
8.3 KiB
HTML

<!DOCTYPE html>
<html lang="en-dk" dir="ltr">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="
Widgets
#
μLauncher allows to add app widgets to the home screen and to widget panels.
Widgets can be added, moved, removed and configured in Settings &gt; Manage Widgets.
It is configurable whether or not interaction with a widget should be enabled.
If interaction is enabled, touch events are forwarded to the widget as usual.
However, μLauncher gestures can not be executed in areas where such a widget is present.
If interaction is disabled, the widget does not respond to any touch events.
This is recommended when using a widget only to display information.">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#343a40">
<meta name="color-scheme" content="light dark"><meta property="og:url" content="http://localhost:1313/docs/widgets/">
<meta property="og:site_name" content="μLauncher">
<meta property="og:title" content="Widgets">
<meta property="og:description" content="Widgets # μLauncher allows to add app widgets to the home screen and to widget panels.
Widgets can be added, moved, removed and configured in Settings &gt; Manage Widgets.
It is configurable whether or not interaction with a widget should be enabled.
If interaction is enabled, touch events are forwarded to the widget as usual. However, μLauncher gestures can not be executed in areas where such a widget is present.
If interaction is disabled, the widget does not respond to any touch events. This is recommended when using a widget only to display information.">
<meta property="og:locale" content="en_dk">
<meta property="og:type" content="article">
<meta property="article:section" content="docs">
<title>Widgets | μLauncher</title>
<link rel="icon" href="/favicon.png" >
<link rel="manifest" href="/manifest.json">
<link rel="canonical" href="http://localhost:1313/docs/widgets/">
<link rel="stylesheet" href="/book.min.e169ae81276ac2a9574d04077e296591738aa6929473ad4174d9d0f1e58d78f0.css" integrity="sha256-4WmugSdqwqlXTQQHfillkXOKppKUc61BdNnQ8eWNePA=" crossorigin="anonymous">
<script defer src="/fuse.min.js"></script>
<script defer src="/en.search.min.4d0468f123719179494cff69af32640c7e80a25a5d4622d7abdcc89ca75743e0.js" integrity="sha256-TQRo8SNxkXlJTP9przJkDH6AolpdRiLXq9zInKdXQ&#43;A=" crossorigin="anonymous"></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
-->
</head>
<body dir="ltr">
<input type="checkbox" class="hidden toggle" id="menu-control" />
<input type="checkbox" class="hidden toggle" id="toc-control" />
<main class="container flex">
<aside class="book-menu">
<div class="book-menu-content">
<nav>
<h2 class="book-brand">
<a class="flex align-center" href="/"><img src="/images/logo.png" alt="Logo" class="book-icon" /><span>μLauncher</span>
</a>
</h2>
<div class="book-search hidden">
<input type="text" id="book-search-input" placeholder="Search" aria-label="Search" maxlength="64" data-hotkeys="s/" />
<div class="book-search-spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>
<script>document.querySelector(".book-search").classList.remove("hidden")</script>
<ul>
<li>
<a href="/chat/" class="">Chat</a>
</li>
<li>
<a href="/donate/" class="">Donate</a>
</li>
<li>
<span>Docs</span>
<ul>
<li>
<a href="/docs/actions-and-gestures/" class="">Actions and Gestures</a>
</li>
<li>
<a href="/docs/alternatives/" class="">Alternatives</a>
</li>
<li>
<a href="/docs/build/" class="">Build</a>
</li>
<li>
<a href="/docs/contributing/" class="">Contributing</a>
</li>
<li>
<a href="/docs/home/" class="">Home</a>
</li>
<li>
<a href="/docs/profiles/" class="">Profiles</a>
</li>
<li>
<a href="/docs/settings/" class="">Settings</a>
</li>
<li>
<a href="/docs/changes-fork/" class="">Differences to the original Launcher</a>
</li>
<li>
<a href="/docs/widgets/" class="active">Widgets</a>
</li>
</ul>
</li>
</ul>
</nav>
<script>(function(){var e=document.querySelector("aside .book-menu-content");addEventListener("beforeunload",function(){localStorage.setItem("menu.scrollTop",e.scrollTop)}),e.scrollTop=localStorage.getItem("menu.scrollTop")})()</script>
</div>
</aside>
<div class="book-page">
<header class="book-header">
<div class="flex align-center justify-between">
<label for="menu-control">
<img src="/svg/menu.svg" class="book-icon" alt="Menu" />
</label>
<h3>Widgets</h3>
<label for="toc-control">
<img src="/svg/toc.svg" class="book-icon" alt="Table of Contents" />
</label>
</div>
<aside class="hidden clearfix">
<nav id="TableOfContents"></nav>
</aside>
</header>
<article class="markdown book-article"><h1 id="widgets">
Widgets
<a class="anchor" href="#widgets">#</a>
</h1>
<p>μLauncher allows to add <a href="https://developer.android.com/develop/ui/views/appwidgets/overview">app widgets</a> to the home screen and to widget panels.</p>
<p>Widgets can be added, moved, removed and configured in <code>Settings &gt; Manage Widgets</code>.</p>
<p>It is configurable whether or not interaction with a widget should be enabled.</p>
<ul>
<li>
<p>If interaction is enabled, touch events are forwarded to the widget as usual.
However, μLauncher <a href="/docs/actions-and-gestures/">gestures</a> can not be executed in areas where such a widget is present.</p>
</li>
<li>
<p>If interaction is disabled, the widget does not respond to any touch events.
This is recommended when using a widget only to display information.</p>
</li>
</ul>
<p>μLauncher&rsquo;s clock behaves similar as an app widget and can be managed in the same way.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
<h1 id="widget-panels">
Widget Panels
<a class="anchor" href="#widget-panels">#</a>
</h1>
<p>Widget panels can contain widgets that are not needed on the home screen.
They can be managed in <code>Settings &gt; Manage Widget Panels</code>.
Widget panels can be opened by using the <a href="/docs/actions-and-gestures/#available-actions">Open Widget Panel</a> action.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>However, it is technically not an app widget and cannot be used with other launchers.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
</article>
<footer class="book-footer">
<div class="flex flex-wrap justify-between">
</div>
<script>(function(){function e(e){const t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}document.querySelectorAll("pre code").forEach(t=>{t.addEventListener("click",function(){if(window.getSelection().toString())return;e(t.parentElement),navigator.clipboard&&navigator.clipboard.writeText(t.parentElement.textContent)})})})()</script>
<div style="text-align: right"><a href="https://s.jrpie.de/android-legal">Legal Notice</a></div>
</footer>
<div class="book-comments">
</div>
<label for="menu-control" class="hidden book-menu-overlay"></label>
</div>
<aside class="book-toc">
<div class="book-toc-content">
<nav id="TableOfContents"></nav>
</div>
</aside>
</main>
</body>
</html>