Thursday:
Android App: Demos a SeekBar (slider) also shows code to
]determine the size of the screen and code to change the size of a TextView dynamically
Lab: Color Selector using SeekBar widgets.
Design a layout like that above with a TextView that starts with a midtone gray and then
uses three SeekBars (with Max's of 255) to change the amount of red, green and blue in the color
of the TextView. I used code like:
tvColor.setBackgroundColor(Color.rgb(myRed, myGreen, myBlue));
Also have three TextViews next to the SeekBars that display the hex code for the value (progress)
of the SeekBar. I used code like:
tvBlue.setText(Integer.toHexString(progress));
Due: Feb. 13