1.Button控件

Butotn控件,主要用来实现一些命令操作,通过注册监听事件来实现。首先需要在xml文档中放入一个button按钮。

1     <Button
2         android:id="@+id/button1"
3         android:layout_width="180dp"
4         android:layout_height="64dp"
5         android:layout_x="45dp"
6         android:layout_y="269dp"
7         android:background="@drawable/btn01"
8         android:text="Button" />
Button

相关文章:

  • 2022-02-22
  • 2021-11-08
  • 2021-04-18
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-10
  • 2021-09-14
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案