EditText的自带属性里没有设置边框颜色的有俩种方式可以达到效果一种是网上比较推崇的用图作背景,另一种则是自绘图作背景的:
首先重新定义一个style。在values文件夹下新建一个style.xml文件: 接下来在drawable里添加my_edittext.xml:内容如下
其中ed...
分类:
其他好文 时间:
2014-05-16 03:17:01
阅读次数:
305
实现屏幕的渐渐展开main.xml MainActivity.javapackage
lesson.my.sudoku;import java.util.Timer;import java.util.TimerTask;import
lession.my.sudoku.R;import and...
分类:
其他好文 时间:
2014-05-15 21:34:37
阅读次数:
264
为了解决DNA序列的拼接以及检错,特写一下算法
package my.dna;
/**
*
* @author mabixiang
*
*/
public class Util2 {
public static void main(String[] args) {
String a = "lkjhgfasd";
String b = "sd5sflk";
resemb...
分类:
其他好文 时间:
2014-05-15 13:28:54
阅读次数:
349
MySQL使用的是插件式存储引擎。
主要包括存储引擎有:MyISAM,Innodb,NDB Cluster,Maria,Falcon,Memory,Archive,Merge,Federated。
其中最为广泛的是MyISAM 和Innodb两种存储引擎,所以接下来对它们做简单介绍。
MyISAM 存储引擎简介
MyISAM 存储引擎的表存储在数据库中,每一个表都被存放为三个以表名命名的物理文件。
1、(.frm文件)任何存储引擎都不可缺少的存放表结构定义信息的文件
2、(.MYD文件)存放表数据的文件
...
分类:
数据库 时间:
2014-05-15 12:06:07
阅读次数:
335
How to use DISM to install a hotfix from within
WindowsJeff Hughes (CORE)15 Feb 2011 10:10 AM22Hello, my name is Emmers Presson.
I am a Support Escala...
原文出处:http://www.lornajane.net/posts/2014/working-with-php-and-beanstalkdWorking
with PHP and BeanstalkdI have just introduced Beanstalkd into my curre...
分类:
Web程序 时间:
2014-05-15 07:35:01
阅读次数:
415
转载自:http://my.oschina.net/orangef/blog/143790
如果需要在状态栏显示自定义的消息时,就需要自定义状态栏。
代码如下:
XYCustomStatusBar.h
01
#import
02
03...
分类:
移动开发 时间:
2014-05-15 03:00:20
阅读次数:
414
mod_python: the long story - Grisha
TrubetskoyMod_python: The Long StoryOct 25th, 2013 | CommentsThis story started
back in 1996. I was in my early tw...
分类:
编程语言 时间:
2014-05-15 01:46:29
阅读次数:
393
Total Accepted: 8400 Total Submissions: 38235 My Submissions
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profi...
分类:
其他好文 时间:
2014-05-14 19:39:53
阅读次数:
275
首先确保mysql为5.5左右,太旧的版本,方法可能存在差异。1、利用mysql_install_db生成数据库mysql_install_db--datadir=/var/lib/mysql2--user=mysqlmysql_install_db--datadir=/var/lib/mysql3--user=mysql2、生成配置文件mysqld_multi--example3、修改配置文件:my.cnf[mysq..
分类:
数据库 时间:
2014-05-14 17:07:55
阅读次数:
417