运用自定义View,在XML布局文件中应使用全限定类名
使用自定义View,在XML布局文件中应使用全限定类名
public class MyButton extends Button
<com.android.my_app.MyButton
android:layout_width=
android:layout_height=
/>
public class MyButton extends Button
<com.android.my_app.MyButton
android:layout_width=
android:layout_height=
/>