3、提示用户选择行,在行中加个单选按钮。
4、进一步方便选择行时选中单选按钮,即可回显。
flexlib 里面有一个设置个性化按钮的东西,具体可以查看gougle 的api,我写过一个你可以参考下,前提是你必须使用flexlibButton {
upSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
overSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
downSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
disabledSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedUpSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedOverSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedDownSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedDisabledSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
corner-Radii: 6, 6, 6, 6
border-Colors: #B2DC32, #4b5f0c
over-Border-Colors: #B2DC32, #4b5f0c
selected-Border-Colors: #B2DC32, #4b5f0c
border-Thickness: 1
border-Alpha: 0.95
fill-Colors: #B2DC32, #4b5f0c
fill-Color-Ratios: 0, 255
over-Fill-Colors: #B2DC32, #4b5f0c
over-Fill-ColorRatios: 0, 128, 255
selected-Fill-Colors: #B2DC32, #4b5f0c
selected-Fill-Color-Ratios: 0, 255
color: black
text-Roll-Over-Color: #4b5f0c
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)