{"push_id":745060729,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"07f0c7346d016177e918a2c44aa6f4ef39043347","before":"8e817c2d21f070856815a03d18a930d969331ae8","commits":[{"sha":"07f0c7346d016177e918a2c44aa6f4ef39043347","author":{"email":"f5d52bb25e72f42b7b19f9425b26a8b265cd00ad@gmail.com","name":"laurencemeynell"},"message":"DisplayResults now turns it's margin read to warn the user if target not achievable\n\nDisplayResults.java\nIf the target weight is unachievable, the margin around the screen is set red\nIf no weights are needed to achieve the target or nearest weight to the target, then \"Just the bar\" is displayed\n\nWeightsCalculator.java\nMade packageName a class variable so I just need to initialize it once and reuse it\nMade helper methods getWeightRef and getMultiplierRef for getting references to the weight and multiplier UI elements.  This will make saving and loading easier later and reduce duplication\nIn calculateWeights I no longer use an array for references to the weights and multipliers.  Use my helper methods now to get a reference\n\nactivity_display_results.xml\nPut a relative layout to hold all the other UI elements inside the top level relative layout\nThe top level layout is the default color normally.  But can be set read to alert the user the target wasn't met as described above\n\nstrings.xmlA\nAdded string for \"Just the bar\"\nUpdated string for toast warning can't make target","distinct":true,"url":"https://api.github.com/repos/laurencemeynell/AndroidWeightsCalculator/commits/07f0c7346d016177e918a2c44aa6f4ef39043347"}]}