共 17 篇文章
显示摘要每页显示  条
ui设计时,需要指定某个元素的drawable时,有时候需要告诉Android我希望设置它为透明,偶然在源码中发现,就是以下这段代码:view plaincopy to clipboard?android:background="@android:color/transparent"
<View android:layout_width="fill_parent" android:layout_height="1px" android:background="?android:attr/listDivider" />
> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/bg_alibuybutton_pressed" /> <item android:state_focused="true" android:drawable="@drawable/b...
现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。Intent intent =new Intent();intent.setAction("android.intent.action.CALL_BUTTON");startActivity(intent);Uri uri = Uri.parse("tel:xxxxxx");Intent intent = new Intent(Intent.ACTION_DIAL, uri);builder.withValue(S...
if(err){ NSLog(@"audioSession: %@ %d %@", [err domain], [err code], [[err userInfo] description]);recorder){ NSLog(@"recorder: %@ %d %@", [err domain], [err code], [[err userInfo] description]);UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"Warning" message: [err localize...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部