Skip to content

An Android application that uses constraints and changes view colors.

Notifications You must be signed in to change notification settings

bagelbomb/ColorMyViews

Repository files navigation

Color My Views

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

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:

Color My Views demo

Notes

I probably didn't need to use actual variables to maintain the colors when changing orientation, but oh well.

License

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.

About

An Android application that uses constraints and changes view colors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages