https://github.com/codepath/android-custom-view-demos
Demos to demonstrate custom views and drawing (Week 3)
https://github.com/codepath/android-custom-view-demos
Last synced: 4 months ago
JSON representation
Demos to demonstrate custom views and drawing (Week 3)
- Host: GitHub
- URL: https://github.com/codepath/android-custom-view-demos
- Owner: codepath
- Created: 2013-11-27T04:36:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-05T19:14:36.000Z (about 7 years ago)
- Last Synced: 2023-05-10T14:13:27.160Z (over 2 years ago)
- Language: Java
- Homepage:
- Size: 915 KB
- Stars: 30
- Watchers: 9
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CustomViewsDemo
This app is a part of the course and is of Week 3 This app helps the user to learn different types of views that are custom made.
Android demo demonstrates how to use custom views and do basic drawing with two different demos:
* Shape Demo - Displays custom control for selecting a shape
* Painting Demo - Custom drawing with a simple canvas the user can paint on.
Dig into the source code for more or checkout the related guides for [Basic Painting](https://github.com/thecodepath/android_guides/wiki/Basic-Painting-with-Views) or [Custom Views](https://github.com/thecodepath/android_guides/wiki/Defining-Custom-Views)!
## Use Cases
**Shape Demo**
* Use case #1: Draw some shapes
* Displays shape onto a view
* Use case #4: Custom input view
* Shape Selector includes drawing, touch, xml attributes, measure
**Painting Demo**
* Use case #3: Simple painting with paths
* Simple painting on a view
.