码迷,mamicode.com
首页 >  
搜索关键字:frequent values    ( 8692个结果
Android应用开发中半透明效果实现方案
下面是自定义Activity半透明的效果例子:res/values/styles.xml res/values/color.xml #50000000注意:color.xml的#5000000前两位是透明的效果参数从00 到 ff(透明--不么透明),后6位是颜色的设置manifest.xmljav...
分类:移动开发   时间:2014-05-27 00:43:37    阅读次数:340
android手机拨号器实现
总共分为4个部分:string值,Layout布局设计,MainActivity代码编写,给项目添加使用授权。1. string值 Phone-->res-->values-->strings.xml,代码如下: 手机拨号器 Hello world! Settings 请输...
分类:移动开发   时间:2014-05-24 00:49:54    阅读次数:508
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!