autumnclaire / TipCalculatorAndroid

Tip Calculator for Android
0 stars 0 forks source link

Tip Calculator - Android #1

Open autumnclaire opened 10 years ago

autumnclaire commented 10 years ago

My Tip Calculator is complete with several optional features. Please review.

I couldn't figure out how to get it to use android.R.color.holo_purple to switch the color of the buttons back to the original color, so I had to use RGB values. It seems like it should be possible to do something like view.setBackgroundColor(android.R.color.holo_purple), but it just seemed to set the background to transparent when I did that.

/cc @nesquena @thecodepath @timothy1ee

nesquena commented 10 years ago

It seems like it should be possible to do something like view.setBackgroundColor(android.R.color.holo_purple)

To set it to a color resource, you need to use view.setBackgroundResource(R.color.white) instead. See this for more details

nesquena commented 10 years ago

:+1: Looks great Autumn! I have provided a detailed Project 1 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission. You should consider going back and implementing applicable feedback as well. Keep in mind that one of the most important parts of Android development is learning the correct patterns and conventions.

Hopefully this has given you a first sense of the RelativeLayout which is a very powerful layout system, probably one of the best responsive-first layout systems available across web and mobile platforms.

Good to see you playing with UI / UX. Check out this guide to improving the UI / UX as well and continue reviewing examples of good UI design.

The next assignment will build on top of the first concepts introduced here and will also introduce networking, api use, handling remote images and navigating between activities.

If you have any particular questions about the assignment in general or on any of the feedback, feel free to reply here or post on the discussion forum.