title: Price Estimator Program for Android
body: <p>I am trying to create a program that uses a set of checkboxes and numberpickers/number input regions to work out the price of an object.
  I am just starting out with android, and I can't figure out how to do this, despite looking around a lot.</p>
  
  <p>Here is a dropbox link to the image of what I have created and ideally want in xml</p>
  
  <p><img src="https://i.stack.imgur.com/8YWvWm.png" alt="enter image description here"></p>
  
  <p>This is basically what I have set up using the XML. The checkboxes at the top relate to different grades of foam which all have different prices, and then the numberpickers will allow selection of the size and thickness of the foam.</p>
  
  <p>So obviously I imagine there will be a fair amount of code to make this work, but I first off I really need to know how to get the values of the sizes, and get which box is checked.
  Then how to use the checked box and the values to work out a price. I suppose I might need to start a new activity for each of the checkboxes?</p>