Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GestureOverlayViewには、ペイント可能な領域を制限する方法があります。つまり、ビュー全体で、ビュー(GestureOverlayView)が使用可能なすべての領域をカバーする、ペイントできないマージンが必要です。
ビューにパディングを適用することができます。おそらくあなたのレイアウトxml、またはコードを介してView.setPadding(int left, int top, int right, int bottom)
View.setPadding(int left, int top, int right, int bottom)