Android控件--ToggleButton学习
摘要:
ToggleButton有两种状态:选中和未选择状态,并且需要为不同的状态设置不同的显示文本。首先先看一下效果:下面看一下ToggleButton的用法(相关的代码):main.xml的布局文件<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layo 阅读全文
posted @ 2011-08-08 10:22 Alan's Blog 阅读(878) 评论(0) 推荐(0)
浙公网安备 33010602011771号