1,TextView :走马灯效果2,EditText ,AutoCompleteText MutiAutoCompleteTextView3,Button,ImageButton,RadioButton,ToggleButton(开关状态),CheckBox。4,ImageView,ImageSw...
分类:
移动开发 时间:
2015-01-30 17:28:52
阅读次数:
177
android中RadioGroup、RadioButton、Spinner、EditText用法详解(含示例截图和源代码)
今天在项目中用到了android中常用的RadioGroup、RadioButton、Spinner、EditText等控件,在此介绍一下它们的用法,希望对需要的朋友有帮助。
一、RadioGroup和RadioButton的使用
二、Spinner的使用
三、EditText的使用
四、示例和源代码...
分类:
移动开发 时间:
2015-01-28 22:37:42
阅读次数:
258
TextView有几个属性android:drawableXXX,通常是在环绕文字周边显示一个图像,但是这有个坑就是文字和图片可能会对不齐。纵使你设置gravity还是layout_gravity=center都没有任何效果。 一般在app的底部导航栏,会用RadioButton去实现。R...
分类:
移动开发 时间:
2015-01-23 16:03:27
阅读次数:
179
package com.example.dialog3;import android.os.Bundle;import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import andro...
分类:
移动开发 时间:
2015-01-22 19:47:44
阅读次数:
246
(1)刚开始进来:
01-21 03:18:16.264: I/DD(1736): DoorManagerFragment======onAttach======
01-21 03:18:16.264: I/DD(1736): DoorManagerFragment======onCreate======
01-21 03:18:16.268: I/DD(1736): DoorManagerFr...
分类:
其他好文 时间:
2015-01-21 11:33:14
阅读次数:
196
标准 tk 组件类型:
Button 按钮
Radiobutton 收音机按钮
Checkbutton 检查按钮
Listbox 列表框
Listbox 列表框
Scrollbar 滚动杆
Entry 条目
Text ...
分类:
其他好文 时间:
2015-01-20 15:49:17
阅读次数:
166
C#控件及常用设计整1、窗体... 12、Label 控件... 33、TextBox 控件... 44、RichTextBox控件... 55、NumericUpDown 控件... 76、Button 控件... 77、GroupBox 控件... 78、RadioButton控件... 89、...
分类:
Windows程序 时间:
2015-01-17 20:43:50
阅读次数:
3655
和按钮类似,这里采用cb1.setOnCheckedChangeListener(this);方法分别对3个CheckBox进行CheckChange事件绑定,然后在onCheckedChanged抽象函数中对点击CheckBox的状态进行获取并用Toast显示。 1 //使用状态改变检查监听器 2...
分类:
移动开发 时间:
2015-01-16 22:09:11
阅读次数:
398
学习目的:1、掌握在Android中如何建立RadioGroup和RadioButton2、掌握RadioGroup的常用属性3、理解RadioButton和CheckBox的区别4、掌握RadioGroup选中状态变换的事件(监听器)RadioButton和CheckBox的区别:1、单个Radi...
分类:
移动开发 时间:
2015-01-16 16:02:50
阅读次数:
148