码迷,mamicode.com
首页 >  
搜索关键字:la    ( 1707个结果
Android 添加子视图(addView和setView)
我们在添加视图文件的时候有两种方式,一种是通过在xml文件定义layout,另一种方式是在java代码中动态生成布局文件。在xml中定义的layout要想转化为view,需要使用到LayoutInflater类。1.构造xml文件2.LayoutInflater提到addview,首先要了解一下La...
分类:移动开发   时间:2015-05-30 10:35:22    阅读次数:278
5.6.3.5 字符串的大小写转换
ECMAScript中涉及到字符串的大小写转换的方法有4 个:toLowerCase()、toLocaleLowerCase()、toUpperCase()和toLocaleUpperCase()。其中,toLowerCase()和toUpperCase()是两个经典的方法,借鉴自java.la.....
分类:其他好文   时间:2015-05-30 00:27:11    阅读次数:140
android 初识ViewPager
1.准备工作 每一个view,只是img不一样,其他都是一样的 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:la...
分类:移动开发   时间:2015-05-29 10:03:45    阅读次数:129
LA 2038 战略游戏(树的动态规划基础题/无根树转有根树/树的最大最小结点集)
题目大意就是求树的最小结点集,树上的动态规划基础题,一次深搜就可以解决问题 代码如下: #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace s...
分类:其他好文   时间:2015-05-27 10:22:51    阅读次数:123
第一章 安装汉化及自定义部件库的加载
下载: http://www.axure.com/downloadAxure7.0中文汉化语言包下载地址:http://pan.baidu.com/s/1jG7Xk14将 lang 文件夹复制到axure安装目录下c://Program Files/Axure/Axure RP Pro 7.0/la...
分类:其他好文   时间:2015-05-26 23:01:40    阅读次数:124
Linux面试题001
1. man 对你熟悉或不熟悉的命令提供帮助解释eg:man ls 就可以查看ls相关的用法注:按q键或者ctrl+c退出,在linux下可以使用ctrl+c终止当前程序运行。2. ls 查看目录或者文件的属*,列举出任一目录下面的文件eg: ls /usr/manls -la.d表示目录(dire...
分类:系统相关   时间:2015-05-26 22:52:35    阅读次数:159
LA 2191电位计(线段树模板题)
线段树模板题,没啥好说的.....注意输出是case之间空一行就行.........之前一直没注意,一直wa 代码如下: #include #include #include #include #include #include #include #include #include #include #include #include #include ...
分类:其他好文   时间:2015-05-26 16:12:48    阅读次数:137
IOS UIButton
iOS之给button加边框 . 圆角弧度 . 加阴影 avatarImage = [UIButton buttonWithType:UIButtonTypeCustom]; //给按钮加一个白色的板框 avatarImage.layer.borderColor = [[UIColor whiteColor] CGColor]; avatarImage.la...
分类:移动开发   时间:2015-05-25 14:38:55    阅读次数:249
Android自定义“图片+文字”控件四种实现方法之 二--------个人最推荐的一种
http://blog.csdn.net/yanzi1225627/article/details/8633872第二种方法也要新建一个图片+文字的xml布局文件,然后写一个类继承自LinearLayout。在主程序里实例化并设置相应参数。这种方式也是我最推荐的一种。第一部分:myimgbtn_la...
分类:移动开发   时间:2015-05-22 23:57:44    阅读次数:246
Python运算符
1. 加(+) - 两个对象相加 `'a'+'b' = 'ab'` `1+2 = 3` 2. 减(-) - 得到一个负数或者一个数减去另一个数 `-52` `25-3=22` 3. 乘(*) - 两个数相乘或者返回一个重复若干次的字符串 `5*2=10` `'la'*3='lalal...
分类:编程语言   时间:2015-05-21 21:41:54    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!