An Android application based on Piet Mondrian artwork that allows you to color different boxes with screen taps.
Submitted by: Tanner Iverson
Time spent: about 3.5 hours
The following required functionality is complete:
- Implement ConstraintLayout with manually defined constraints.
- Use chaining to align TextViews.
- Use baseline constraints to align text.
- Change color of boxes and background by tapping screen and buttons.
The following additional features are implemented:
- Maintain UI state when switching orientation from portrait to landscape.
- Replace TextViews with actual artwork.
Here's a walkthrough of implemented user stories:
I probably didn't need to use actual variables to maintain the colors when changing orientation, but oh well.
Copyright 2019 Tanner Iverson
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.