安卓学习笔记(三)Button与 ImageButton

来源:互联网 发布:editplus怎么用java 编辑:程序博客网 时间:2024/05/16 01:41

<Button

android:id="@+id/button1"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="@string/button"/>


<ImageButton

android:id="@+id/imagebutton1"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:src="@drawable/ic_launcher" />



0 0