let button = UIButton(type:.system); button.frame = CGRect.init(x:100,y:150,width:160,height:30); button.setTitle("SwiftBtton", for: .normal); button. ...
分类:
编程语言 时间:
2017-10-17 15:20:37
阅读次数:
198
MainTabBarController.h UITabBarItem *item = [self.tabBar.items objectAtIndex:index]; [item setTitle:title]; if (index==2) { item.imageInsets=UIEdgeIns ...
分类:
其他好文 时间:
2017-10-11 23:46:55
阅读次数:
200
ActionBar mActionBar=getSupportActionBar();mActionBar.setHomeButtonEnabled(true);mActionBar.setDisplayHomeAsUpEnabled(true);mActionBar.setTitle("设置"); ...
分类:
其他好文 时间:
2017-09-17 19:34:56
阅读次数:
157
http://www.2cto.com/kf/201403/283563.html AlertDialog.Builder builder=new Builder(MainActivity.this); builder.setMessage("确定删除?"); builder.setTitle("提 ...
分类:
其他好文 时间:
2017-08-22 01:52:34
阅读次数:
211
一、alertdialog java: AlertDialog.Builder dialog=new AlertDialog.Builder(MainActivity.this); dialog.setTitle("This is Dialog"); dialog.setMessage("Somet ...
分类:
其他好文 时间:
2017-08-02 23:31:43
阅读次数:
193
getActiveSheet();//获得当前活动的sheet $objSheet->setTitle("demo"); $array=array( array("姓名","分数"), array("李四","60"), array("张三","90"), ); $objSheet->fromArr... ...
分类:
Web程序 时间:
2017-07-11 19:23:31
阅读次数:
237
document.setTitle = function(t) { document.title = t; var i = document.createElement('iframe'); i.src = '//m.baidu.com/favicon.ico'; i.style.display = ...
分类:
微信 时间:
2017-07-08 14:09:58
阅读次数:
321
document.setTitle = function(t) { document.title = t; var i = document.createElement('iframe'); i.src = '//m.baidu.com/favicon.ico'; i.style.display =... ...
分类:
微信 时间:
2017-07-06 20:40:29
阅读次数:
388
btn.frame = CGRectMake(x, y, width, height); [btn setTitle: @"search" forState: UIControlStateNormal]; //设置按钮上的自体的大小 //[btn setFont: [UIFont systemFon ...
分类:
其他好文 时间:
2017-07-01 01:00:11
阅读次数:
196
使用AlerDialog 创建对话框 : AlertDialog.Builder builder = new AlertDialog.Builder(this); 1.设置简单的对话框 builder.setIcon(R.drawable.icon); builder.setTitle("你确定要离 ...
分类:
其他好文 时间:
2017-05-30 19:39:33
阅读次数:
195