sorted and renamed all drawables
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user