Skip to Content
操作介面設計模式 第二版
book

操作介面設計模式 第二版

by Jenifer Tidwell
January 2012
Intermediate to advanced
584 pages
11h 56m
Chinese
GoTop Information, Inc.
Content preview from 操作介面設計模式 第二版
模式
|
467
清除文字的按鈕(
Text Clear Button
10
-
23
Safari
上的網址搜尋框
這是什麼
建立一個內附小按鈕的文字欄位。
何時使用
當行動介面需要文字欄位時,請考慮採用清除文字的按鈕。它對承載長文字字串的
欄位特別有價值,例如用在搜尋字串、URL 和多行文字上。
為何使用
擦掉長文字 字串時,如 果一次只能 清除一個字 元,不僅速 度很慢,而 且還容易出
錯。別強迫你的使用者這樣做。
有些行動平台沒有剪下、複製與貼上的設備。「剪下」或許即可滿足清除文字的需
選擇一個文字欄位中的所有內容也有相同效用;但就算裝置附有前述設備,
能點擊一個按鈕就清除欄位,仍然是比較便利的。
原理作法
在文字欄位中放個簡單的「」或「Clear」(清除)按鈕。放在文字欄位旁邊也
可以,但最好做一個能用性測試,確定使用者是否注意到這個按鈕 大家可能以
為這個按鈕表示「搜尋」。
如果平台已經提供「清除」按鈕、做為文字欄位的內建功能,盡量用別客氣。我看
過使用者很痛苦地清除文字欄位,發生在 Android 早期、還沒提供這個功能的版本
光是看他們一個字、一個字地清除搜尋欄位就很痛苦了。我也看過 iPhone
的程式沒有利用這個標準清除按鈕;這些使用者都十分希望「」按鈕能出現在文
字欄位中,看到程式沒提供這個按鈕,當然是很不高興的。
DI_2e_ch10.indd 467 2012/1/5 下午 04:04:09
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
優雅的SciPy|Python科學研究的美學

優雅的SciPy|Python科學研究的美學

Juan Nunez-Iglesias, Stéfan van der Walt, Harriet Dashnow
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
量子计算机编程:从入门到实践

量子计算机编程:从入门到实践

Eric R. Johnston, Nicholas Harrigan, Mercedes Gimeno-Segovia

Publisher Resources

ISBN: 9789862762554