Android中的可绘制形状fill_parent
用于其大小是否有效?
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid
android:color="#666666"/>
<size
android:width="fill_parent"
android:height="fill_parent"/>
</shape>
编辑
这为ImageButton
视图的背景。我希望按钮的图标后面有一个圆圈,但我并不总是知道按钮的大小(每个布局的大小不同)。