https://github.com/chromeos/pointer-icon-sample
Pointer Icon Demo for Android applications running on Chrome OS
https://github.com/chromeos/pointer-icon-sample
android chromeos cros mouse-pointer
Last synced: 2 months ago
JSON representation
Pointer Icon Demo for Android applications running on Chrome OS
- Host: GitHub
- URL: https://github.com/chromeos/pointer-icon-sample
- Owner: chromeos
- License: apache-2.0
- Created: 2020-02-11T16:58:44.000Z (over 5 years ago)
- Default Branch: trunk
- Last Pushed: 2024-01-17T17:21:05.000Z (over 1 year ago)
- Last Synced: 2024-01-18T01:04:51.625Z (over 1 year ago)
- Topics: android, chromeos, cros, mouse-pointer
- Language: Kotlin
- Homepage:
- Size: 230 KB
- Stars: 6
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# Pointer Icons for Android
## Background
Adding pointer icons is a quick and easy way to help your users visually notice when elements within your Android application are useful. This can be a way to provide context to the user about the available actions of items within your application. This sample aims to provide a quick way to check which pointer icons look like what and how to implement a Pointer Icon on a hover action within your application.## Additional Reading
* [PointerIcon Android Class](https://developer.android.com/reference/android/view/PointerIcon)
* [RecyclerView](https://developer.android.com/guide/topics/ui/layout/recyclerview)
* [Optimizing Apps For Chrome OS : Custom Cursors](https://developer.android.com/topic/arc/optimizing#custom-cursors)## System Default Icons
| Cursor Name | Icon |
| --- | --- |
| Alias |  |
| All Scroll |  |
| Arrow |  |
| Cell |  |
| Context Menu |  |
| Copy |  |
| Crosshair |  |
| Default |  |
| Grab |  |
| Grabbing |  |
| Hand |  |
| Help |  |
| Horizontal Double Arrow |  |
| No Drop |  |
| null | No Cursor Will Display |
| Text |  |
| Top Left Diagonal Double Arrow |  |
| Top Right Diagonal Double Arrow |  |
| Vertical Double Arrow |  |
| Vertical Text |  |
| Wait |  |
| Zoom In |  |
| Zoom Out |  |## Attribution
Portions of this page are reproduced from work created and shared by the
[Android Open Source Project](https://code.google.com/p/android/) and used according to terms
described in the
[Creative Commons 3.0 Attribution License](https://creativecommons.org/licenses/by/4.0/).