Michal Dymel
Michal Dymel

Reputation: 4360

Gestures and color drawing

I am detecting gestures on one of my activities - I am using it to navigate through photos. Every time I am doing a gesture, yellow line is being drawn on the screen. Is there any way to set GestureColor as transparent?

Upvotes: 2

Views: 1432

Answers (1)

pgsandstrom
pgsandstrom

Reputation: 14399

If you write the color in the form of "#aarrggbb", then 'aa' represent the transparency. Thus the color #00000000 is completely transparent.

Upvotes: 5

Related Questions