這是我寫的代碼在我的應用程序中創建按鈕。按鈕沒有在我的Android應用程序中創建
該代碼是好的,但它也沒有得到創建。
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="dosomething"
android:text="mybutton" />
其中是您的代碼 – Ranjit
發佈完整的XML代碼 – Pankaj