控件
2015-07-30 16:08
218 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/C__CHM/article/details/47151565
控件:
<TextView
android:id="@+id/text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="This ia TextView" />
这直接在屏幕上显示This is TextView
<EditText
android:id="@+id/edit_text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Type something here"
/>
与用户交互,可以输入内容,默认Type something here
<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="注册"
/>
相关文章推荐
- rdlc控件数据库图片的显示 自测成功!
- VB中 MSComm控件使用详解
- 在ToolStrip控件上添加控件
- Web 页面动态创建ASP控件
- MFC工具栏(CToolBar)控件常见操作
- c#操作Excel中的控件
- UI -UIView和UILabel控件
- 批量添加、删除控件组--【ssnc】
- Android 日历控件 mCalendarView
- Android常用控件
- 自定义View实现水平滚动控件
- andriod入门学习(一)--新建项目及简单控件拖拽生成
- 获取引发PostBack的对象(获取引发回送的控件)
- WPF布局控件
- JavaME UI设计之低级界面文本控件
- C#中FileSystemWatcher控件实现文件监控
- jQuery修改指定的页面控件
- Javascript & DHTML上传文件控件第1/4页
- 如何实现一个frame中的按钮事件调用另一个frame的服务器控件