使用adt开发新建一个Android app,选择支持的SDK版本如果小于11(Android3.0)就会报如下错误。
error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’.
使用adt开发新建一个Android app,选择支持的SDK版本如果小于11(Android3.0)就会报如下错误。
error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’.
在我们的android中,单选按钮与复选框都是Button的子类,所以继承了Button的各种属性,而且还多了一个可选中的功能。
Android的对话框有两种:PopupWindow和AlertDialog。它们的不同点在于:
1 | <script type="text/javascript"> |