TABに画像を載せたいのですが、もっと小さくする必要があります。試してみましたが、画像のサイズが変わりません。
ImageView image1 = new ImageView(this);
image1.setImageDrawable(getResources().getDrawable(R.drawable.book));
image1.setAdjustViewBounds(true);
image1.setMaxWidth(10);
image1.setMaxHeight(10);
tabHost.addTab(tabHost.newTabSpec("Tab 1").setContent(R.id.tab1).setIndicator(image1));
タブの画像を設定するには、のxmlタグを参照できますmain.xml