【发布时间】:2011-11-10 14:24:45
【问题描述】:
我正在尝试使用android的内置控件CompoundButton,但是我在xml中使用它没有运气,这是我的代码
<CompoundButton
android:id="@+id/mini_recorder_play"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_weight="1"
android:background="@drawable/play_d" />
膨胀时抛出异常。
【问题讨论】:
-
似乎复合按钮是抽象的,所以它不起作用。
标签: android button android-button