Android:让ImageButton的图片更大

时间:2012-02-01 20:39:36

标签: android scale imagebutton

我有一个ImageButton:

button

我想让图像(圆形播放图像)更大。我知道 android:scaleType ,但我不想将图像一直拉到按钮的边框。我只是想让它变大一点,比如当前大小的120%。

这可能吗?

2 个答案:

答案 0 :(得分:4)

在photoshop中编辑你的图像,使你的欲望分辨率更大。

在android中放置高度,图像的重量并设置scaleType:FitCenter

答案 1 :(得分:0)

在xml布局中,将宽度和高度设置为更大的倾角。