✳flâneur — a map of the web's best reading
文字縮放 - Android 無障礙工具說明
support.google.com · 149 words · saved by 1 readers
為了支援不同的螢幕大小、螢幕方向、像素密度和字型大小,無障礙功能檢查工具會尋找文字無法縮放的位置。 如果使用者認為文字太小而難以閱讀,
文字縮放 為了支援不同的螢幕大小、螢幕方向、像素密度和字型大小,無障礙功能檢查工具會尋找文字無法縮放的位置。 如果使用者認為文字太小而難以閱讀,可以使用裝置的 字型大小無障礙設定 來放大畫面上的文字。不過,只有在以可縮放像素 (sp) 的單位指定文字大小時,這項設定才會影響文字的顯示方式。 如果在版面配置限制過多的情況下,調整字型大小來放大文字,可能會導致部分文字遭到裁切、截斷或掩蓋。如果是 TextView 的尺寸或可縮放文字的非捲動式容器,則較建議使用「 wrap_content 」或「 match_parent 」。 導入作業 檢視 以可縮放像素 (sp) 為單位來定義文字大小。 正確範例: <TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:textSize="20sp" android:text="@string/directions"/> 以 sp 為單位設定文字大小,且可延伸高度。 <TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:textSize="20sp" android:minHeight="48dp"
Explore this link on the map →related reading
- Typescale - Create stunning typography, generate CSS, and find inspiration.typescale.com
- Impeccable: The missing upgrade to Anthropic's impeccable skillimpeccable.style
- Go smol or go home | Harm de Vriesharmdevries.com
- <meta name="viewport"> HTML attribute value - HTML | MDNdeveloper.mozilla.org
- GitHub - chenglou/pretext: Fast, accurate & comprehensive text measurement & layout · GitHubgithub.com
- Cheng Lou on X: "My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at https://t.co/BKnwCDIp75" / Xx.com
- GitHub - prathyvsh/semantic-zoom: Github repository to catalogue semantic zoom interaction patterns · GitHubgithub.com
- Layout | Apple Developer Documentationdeveloper.apple.com
- UI / UX 設計白皮書 / Material Design 導讀_Day24 Usability 易用性 - iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天ithelp.ithome.com.tw
- GitHub - helix-editor/helix: A post-modern modal text editor. · GitHubgithub.com
- Material Designm2.material.io
- GitHub - dominikmartn/nothing-design-skill: A Claude Code skill for generating UI in the Nothing design language. Monochrome, typographic, industrial. · GitHubgithub.com