5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
7 <link rel=
"stylesheet" href=
"../style.css#" type=
"text/css" />
8 <title>Toolbar customization
</title>
11 let href
= location
.href
;
12 for(let i
=href
.length
-1;i
>0;i
--){
13 if('/'==href
.charAt(i
) && '/'==href
.charAt(i
-3))
20 location
.href
= location
.href
.substring(0,i
+1)+page
;
22 function nav2Lang(lang
){
24 let href
= location
.href
;
25 location
.href
= location
.href
.substring(0,i
-2)+lang
+location
.href
.substring(i
);
30 <header class='header'
>
31 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('index.html#')">Home
</a> <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('tags/index.html#')">Tags
</a>
34 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2Lang('zh')">简体中文
</a>
42 <div class=
"container">
43 <h1 class=
"title">Toolbar customization
45 <span class=
"subtitle"></span>
50 <p>If subfolder
"icon
" exists, then files named as
"0",
"1",
"2"...
<br>
51 are used for icons in the bottom toolbar. file
"0" to replace the left arrow button,
"1" for right arrow button,
"2" for the setting button,
"3" for the home screen button,...
</p>
52 <p>If a new button is defined (file name
"20" exists), uweb also supports VectorDrawable with
"android compiled XML
" format. All icon files must be either all compiled VectorDrawables or common image formats.
</p>
53 <p>Note: The refresh and tab manager button can not be redefined.
</p>
56 <p>Last Modified:
2 April
2024<br>
57 add flg for not following sys night mode
<br>
62 src='https://giscus.app/client.js'
63 data-repo=
"torappinfo/uweb"
64 data-repo-id=
"MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
65 data-category=
"Announcements"
66 data-category-id=
"DIC_kwDOEgNLGc4CQjsh"
69 data-reactions-enabled=
"1"
70 data-emit-metadata=
"0"
71 data-input-position=
"top"
75 crossorigin=
"anonymous" async
>
78 <footer class=
"site-footer">
79 <div class=
"container">
80 © 2018-
2024 Richard H. Cao
83 <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->