以前一直都是用ndroid自带的属性,突然发现自定义xml属性也是非常重要,于是总结了一下。
在values文件夹下新建的attr.xml文件,该文件为自定义属性。
//attr.xml
//布...
分类:
其他好文 时间:
2014-06-05 08:46:15
阅读次数:
244
The gray code is a binary numeral system where
two successive values differ in only one bit.Given a non-negative
integernrepresenting the total number...
分类:
其他好文 时间:
2014-06-04 18:58:39
阅读次数:
277
原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There
are two sorted arrays A and B of size m and n respectively. Find the median...
分类:
编程语言 时间:
2014-06-04 18:52:31
阅读次数:
356
Given two sorted integer arrays A and B, merge
B into A as one sorted array.Note:You may assume that A has enough space (size
that is greater or equal...
分类:
其他好文 时间:
2014-06-04 18:18:08
阅读次数:
259
ProblemYou want to allow the users of your app
to select from a list of values.SolutionUse the UIPickerView class.DiscussionA
picker view is a graphic...
分类:
其他好文 时间:
2014-06-03 12:22:56
阅读次数:
289
1、为已存在表创建分区ALTER TABLE `tb_xxx` PARTITION BY LIST
COLUMNS(col_id)(PARTITION p0 VALUES IN (1),PARTITION p1 VALUES IN (4),PARTITION
p2 VALUES IN (5));分区...
分类:
其他好文 时间:
2014-06-03 09:17:37
阅读次数:
246
1. MongoDB是一个Document Database。A record in MongoDB
is a document,MongoDB documents are similar to JSON
objects。一个Document可以包含其他Documents,并且可以包含Arrays和...
分类:
数据库 时间:
2014-06-03 09:09:17
阅读次数:
313
仲裁寄存器default值:
The default values of CPUARB, IDMAARB, SDMAARB, and UCARB are sufficient for most applications. These registers define priorities that are internal to the C66x CorePac. The MDMAARBU...
分类:
其他好文 时间:
2014-06-03 03:53:28
阅读次数:
239
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.Fo...
分类:
其他好文 时间:
2014-05-30 15:18:35
阅读次数:
246
DescriptionAn ascending sorted sequence of
distinct values is one in which some form of a less-than operator is used to
order the elements from smalle...
分类:
其他好文 时间:
2014-05-30 14:31:10
阅读次数:
297