码迷,mamicode.com
首页 >  
搜索关键字:键值对 keys values items    ( 18899个结果
android 主题和样式-style和Theme的区别和使用
项目中经常使用style和Theme,但却从来没有考虑过它们的区别,只会copy来copy去的,有时候还有些迷茫,为了彻底告别迷茫,现把这两者的区别和使用总结出来,供自己和大伙参考 一.作用域 Theme是针对窗体级别的,改变窗体样式。 Style是针对窗体元素级别的,改变指定控件或者Layout的样式 二.使用方式 Theme 1. 在res\values\ 下创建themes....
分类:移动开发   时间:2014-06-16 12:12:19    阅读次数:371
UI标签库专题十:JEECG智能开发平台 Form(form标签)
??1. Form(form标签)1.1. 参数属性名类型描述是否必须默认值actionstring表单提交地址否nullitemsstring循环集合值是null1.2.  用法"userAction" items =null>  2.  ComboTree(下拉树形选择框)2.1. 参数属性名类型描述是否必须默认值namestring控件唯一标示是nullnamestring控件名称是null...
分类:其他好文   时间:2014-06-16 11:43:32    阅读次数:300
[leetcode]Gray Code @ Python
原题地址:https://oj.leetcode.com/problems/gray-code/题意:The gray code is a binary numeral system where two successive values differ in only one bit.Given a...
分类:编程语言   时间:2014-06-16 07:42:27    阅读次数:242
The Swift Programming Language 中文版---Swift 初见
Swift 初见本页内容包括:简单值(Simple Values)控制流(Control Flow)函数和闭包(Functions and Closures)对象和类(Objects and Classes)枚举和结构体(Enumerations and Structures)接口和扩展(Proto...
分类:其他好文   时间:2014-06-16 06:21:56    阅读次数:294
android 写入联系人
public void testInsert() { ContentValues values = new ContentValues();/* * 首先向RawContacts.CONTENT_URI执行一个空值插入,目的是获得系统返回的rawContactId */ Uri rawContact...
分类:移动开发   时间:2014-06-16 00:40:11    阅读次数:356
【Leetcode】Binary Tree Postorder Traversal
Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: Recursive solut...
分类:其他好文   时间:2014-06-15 19:06:52    阅读次数:166
Android数据的四种存储方式之SharedPreferences
除了SQLite数据库外,SharedPreferences也是一种轻型的数据存储方式,它的本质是基于XML文件存储key-value键值对数据,通常用来存储一些简单的配置信息。其存储位置在/data/data//shared_prefs目录下。SharedPreferences对象本身只能获取数据而不支持存储和修改,存储修改是通过Editor对象实现。实现SharedPreferences存储的...
分类:移动开发   时间:2014-06-15 18:34:02    阅读次数:250
leetcode -day28 Unique Binary Search Trees I II
1、 ?? Unique Binary Search Trees II Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 uni...
分类:其他好文   时间:2014-06-15 09:09:00    阅读次数:256
Leetcode:Path Sum 二叉树路径和
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 giv...
分类:其他好文   时间:2014-06-13 16:09:02    阅读次数:237
【HDOJ】1930 And Now, a Remainder from Our Sponsor
简单字符串。 1 #include 2 3 #define MAXLEN 160 4 5 char buf[MAXLEN]; 6 int keys[4], parts[4]; 7 8 void getpart(int x) { 9 int i;10 for (i=3; i>=...
分类:其他好文   时间:2014-06-13 15:10:31    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!