- Androidプログラミング質問スレ revision48 [転載禁止]©2ch.net
409 :デフォルトの名無しさん[sage]:2015/05/21(木) 19:14:03.33 ID:ZfTkNSQV - ImageButtonのサイズを変更したいのですが、cannot resolve method setHeightとエラーになって変更できません。
通常のButtonなら問題なく出来たのですが、ImageButtonは何か違うんでしょうか? ImageButton button = (ImageButton)findViewById(R.id.button_home); button.setHeight(button.getWidth());
|