02 2013 档案
AI学习资料汇总
摘要:Data Science Central:http://www.datasciencecentral.com/profiles/blogs/berkeley-course-on-data-science
阅读全文
无法启动windows audio服务,错误提示126.
摘要:1.打开记事本,复制以下内容进去,保存为run.regWindows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] 2.打开记事本,复制以下内容进去,保存为run.bat@echo off :清除注册表 regedit /s g:\soft\run.reg :结束已经运行的进程 taskkill /f /im alga.
阅读全文
Eclipse自动输入提示
摘要:Eclipse-Window-Preferences-Java-Editor-Content Assist Auto activation triggers for Java:[Add all of the alphabates here, from a to z]. 智能提示:alt+/ 智能填充:ctrl+space
阅读全文
Styles and Themes
摘要:A style is a collections of properties that specify the look and format of a view or window. They allow to separate the design from the content. Without Style XML, we can design it in the Layout XML:<...
阅读全文
Android TextView 初步学习
摘要:直接设置XML Layout:<TextView android:id="@+id/text_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20sp" android:layout_marginRight="20sp" android:textStyle="bold" android:background=
阅读全文
Android 使用Toast显示提示信息框
摘要:Toast是一种非常方便的提示消息框,他会在程序界面上显示一个简单的提示信息,这个提示信息框用于向用户生成简单的提示信息,它具有两个特点。1.Toast提示信息不会获得焦点,2.Toast提示信息过一段时间会自动消失使用Toast来生成提示消息也非常简单,只要如下几个步骤:1.调用Toast的构造器或makeText方法创建一个Toast对象。2.调用Toast的方法来设置该消息提示的对齐方式,页边距,显示内容等。3.调用Toast的show()方法,将他显示出来。public void sendMessage(View view) { // Do something in re...
阅读全文
Android xml 布局
摘要:首先按照程序的目录结构大致分析: res/layout/ 这个目录存放的就是布局用的xml文件,一般默认为main.xml res/values/ 这个目录存放的是一堆常量的xml文件 res/drawable/ 存放的是一些图片什么的,当然图标也在这里 下面主要对layout下的xml文件做个介绍,顺便也把布局的方法总结一下: ·文件的开头 <?xml version="1.0" encoding="utf-8"?> 这是在说明xml版本及字符编码 ·紧接着到了关键的部分: <LinearLayout xmlns:
阅读全文
Javadoc使用方法
摘要:Project - Generate JavadocConfigure:Choose the path of Javadoc(mine is C:\Program Files\Java\jdk1.6.0_10\bin\javadoc.exe)Finish
阅读全文
浙公网安备 33010602011771号