The Doodle App allows users to draw, erase, and edit sketches on a canvas. It includes features such as adjustable brush sizes, opacity control, color picking, and the ability to save and load drawings. Users can also undo and redo their drawing actions.
- Brush Size Adjustment: Modify the size of the brush using a SeekBar.
- Opacity Adjustment: Control the opacity of your brush strokes using a SeekBar.
- Color Picker: Choose a color for your brush from a list of predefined colors.
- Undo/Redo Actions: Revert or redo your most recent drawing actions.
- Save/Load Drawings: Save your current drawing to the device and load it later.
- Clear Canvas: Clear the canvas to start over with a fresh drawing.
- Android Studio
- Java (for the DoodleView class)
- Kotlin (for MainActivity)
- Android 5.0 (Lollipop) or higher
- Clone the repository or download the source code:
git clone https://github.com/Larissa-Chelius/doodleApp.git
- Open the project in Android Studio.
- Sync the project with Gradle files.
- Build and run the app on an emulator or a physical device.
- Open the app on your Android device or emulator.
- Use the toolbar buttons to adjust the brush size, opacity, and color.
- Use the canvas area to draw.
- Click Clear to erase the current drawing.
- Use Save to save your drawing and Load to retrieve a saved drawing.
- Click Undo or Redo to undo your last stroke or put back your last stroke.
Canvas and Drawables: https://developer.android.com/reference/android/graphics/Canvas
View Class Overview: https://developer.android.com/develop/ui/views/layout/custom-views/custom-components