Android GestureOverlayView類xml屬性簡單介紹

來源:互聯網
上載者:User

GestureOverlayView:一種用於手勢輸入的透明覆蓋層,可覆蓋在其他控制項的上方,也可包含其他控制項。

Android:eventsInterceptionEnabled 定義當手勢已經被識別出來時,是否攔截手勢動作

Android:fadeDuration 當使用者畫完手勢時,手勢淡出效果的期間,單位為毫秒(milliseconds)

Android:fadeEnabled 定義識別完手勢後,手勢是否自動淡出

Android:fadeOffset 淡出延遲,單位為毫秒,即使用者畫完手勢之後到手勢淡出之間的時間間隔

Android:gestureColor 描繪手勢的顏色

Android:gestureStrokeAngleThreshold 識別是否為手勢前,一筆必須包含的最小曲線度

Android:gestureStrokeLengthThreshold 識別是否為手勢前,一筆的最小長度

Android:gestureStrokeSquarenessThreshold 識別是否為手勢前,一筆的偏斜度閥值

Android:gestureStrokeType 定義筆畫(定義為手勢)的類型

Android:gestureStrokeWidth 畫手勢時,筆劃的寬度

Android:orientation 指出是水平(當Orientation為vertical),還是垂直(當orientation為horizontal)筆畫自動定義為手勢

Android:uncertainGestureColor 未確定為手勢之前,描繪使用者筆畫的顏色

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.