sorted and renamed all drawables

This commit is contained in:
=
2017-10-20 15:39:10 +02:00
parent 71406b3fe2
commit 2d74599749
40 changed files with 190 additions and 195 deletions

View File

@ -49,7 +49,7 @@ public class ToolInspector implements View.OnClickListener {
this.locked = locked;
this.title.setText(locked ? R.string.tool_name_unknown : toolType.getName());
this.imageView.setImageDrawable(gameActivity.getResources().getDrawable(
locked ? R.drawable.tools_lockedbutton : toolType.getButtonDrawable()));
locked ? R.drawable.tools_button_locked : toolType.getButtonDrawable()));
priceButton.init(R.string.price_button_buy, toolType.getPrice(), R.drawable.currency_star);
priceButton.setLayoutVisible(toolType.isBought() || locked ? View.GONE : View.VISIBLE);
priceButton.setLayoutEnabled(toolType.getPrice() <= gameActivity.getUser().getStarCount());