How to change cursor style in android?
I have different views on my activity. I wanna change my cursor 开发者_运维技巧style when cursor is move to any view. How to do same in android.For example there is a normal cursor on the android activity when cursor moves to a button i wanna change cursor style normal to finger style.
The only cursor I know about in Android is used alongside SQLite databases. Seeing as Android phones/tablets are all touchscreen... there is no 'mouse' cursor, except in the emulator.
Of course, you could draw a cursor that followed finger movement, but I can't think of a lot of reasons you'd want do that in a standard UI.
actually there is a mouse cursor in Android 3.0 and later. The only way to see it is to connect a bluetooth mouse to the device and youll see the cursor once you move the mouse around. The only reason I found this site was because I wanted to change the cursor color so sorry I cant help you with that one.
精彩评论