码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
ios 给uiview创作遮罩
mask一定是PNG格式的图像,去掉背景 .jpg格式图片没有alpha values遮罩是通过图片透明度的信息实现与颜色无关UIImage*_maskingImage =[UIImage imageNamed:@"mask"];CALayer*_maskingLayer =[CALayer lay...
分类:移动开发   时间:2014-05-20 00:07:25    阅读次数:474
xxxx is not translated in zh-rCN, zh-rTW
1.异常提示:"image_content" is not translated in zh-rCN, zh-rTW2.错误原因:根据报错提示,是说我没有对string文件做国际化翻译操作,但是我报错的项目并没有做国际化,所以并没有values-zh-rCN和values-zh-rTW两个文件夹,最...
分类:其他好文   时间:2014-05-19 22:04:44    阅读次数:317
LeetCode: Reverse Nodes in k-Group [024]
【题目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the nodes, only n...
分类:其他好文   时间:2014-05-18 10:22:34    阅读次数:367
LeetCode--Binary Tree Level Order Traversal
Binary Tree Level Order Traversal  Total Accepted: 12441 Total Submissions: 40879My Submissions Given a binary tree, return the level order traversal of its nodes' values. (ie, from left t...
分类:其他好文   时间:2014-05-18 10:11:13    阅读次数:337
LeetCode: Swap Nodes in Pairs [023]
【题目】 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:其他好文   时间:2014-05-18 08:37:57    阅读次数:370
leetcode -day17 Path Sum I II & Flatten Binary Tree to Linked List & Minimum Depth of Binary Tree
1、 ?? Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below...
分类:其他好文   时间:2014-05-18 03:25:06    阅读次数:301
jvm性能优化及内存分区
jvm性能优化及内存分区2012-09-17 15:51:37分类:JavaSome of the default values for Sun JVMs are listed below.JDK 1.3.1_06 Initial Size Maximum SizeClient JVM 1MB 32...
分类:其他好文   时间:2014-05-18 02:46:12    阅读次数:311
Saving Activity state in Android
You need to override onSaveInstanceState(Bundle savedInstanceState) and write the application state values you want to change to the Bundle parameter ...
分类:移动开发   时间:2014-05-17 14:49:13    阅读次数:292
EditText之边框颜色
EditText的自带属性里没有设置边框颜色的有俩种方式可以达到效果一种是网上比较推崇的用图作背景,另一种则是自绘图作背景的: 首先重新定义一个style。在values文件夹下新建一个style.xml文件: 接下来在drawable里添加my_edittext.xml:内容如下 其中ed...
分类:其他好文   时间:2014-05-16 03:17:01    阅读次数:305
LeetCode--Binary Tree Preorder Traversal
Binary Tree Preorder Traversal  Total Accepted: 18022 Total Submissions: 51784My Submissions Given a binary tree, return the preorder traversal of its nodes' values. For example: Given b...
分类:其他好文   时间:2014-05-14 20:43:22    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!