Skip to content

Lodisy12/View-Colorizer

Repository files navigation

ViewColorizer

An Android application based on Piet Mondrian artwork that allows you to color different boxes with screen taps.

Submitted by: Joseph Lawter

Time spent: three hours, thirty minutes

User Stories

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.

Video Walkthrough

Here's a walkthrough of implemented user stories:

View Colorizer demo

Notes

Trying to keep the app from resetting on orientation change was a bit of a struggle. There are several resources online talking about the right and wrong ways to do it, but in the end I found all but the most basic and "wrongest" way of doing it too hard.

License

Copyright 2019 Joseph Lawter

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages