- 浏览: 1237783 次
- 性别:
- 来自: 广州
-
最新评论
-
hesai_vip:
学习了,感谢
gradlew wrapper使用下载到本地的gradle.zip文件安装。 -
imknown:
姚瑶大坏蛋 写道我也遇到了这个,用你这个方法,导致下拉刷新不起 ...
解决android-Ultra-Pull-To-Refresh下拉刷新组件中嵌套ViewPager的一个bug -
姚瑶大坏蛋:
我也遇到了这个,用你这个方法,导致下拉刷新不起作用了,你遇到过 ...
解决android-Ultra-Pull-To-Refresh下拉刷新组件中嵌套ViewPager的一个bug -
寐语者:
LeaderElection(String zookeeper ...
使用Zookeeper来为你的程序加上Leader Election的功能。 -
fyc0109:
博主, 安装了一部分还是报这个错误!FAILURE: Buil ...
gradlew wrapper使用下载到本地的gradle.zip文件安装。
文章列表
引用TypedValue.COMPLEX_UNIT_PX //Pixels
TypedValue.COMPLEX_UNIT_SP //Scaled Pixels
TypedValue.COMPLEX_UNIT_DIP //Device Independent Pixels
http://developer.android.com/training/displaying-bitmaps/index.html
1. Loading Large Bitmaps Efficiently
2. Processing Bitmaps Off the UI Thread
3. Caching Bitmaps
4. Displaying Bitmaps in Your UI
http://www.jayway.com/2012/06/25/creating-custom-android-views-part-1-extending-standard-views-and-adding-new-xml-attributes/
http://afreechart.googlecode.com/svn/doc/screenshot/index.html
http://afreechart.googlecode.com
Idea color theme
- 博客分类:
- java基础
http://ideacolorschemes.com/
you can install this "Color" plugin also.
如果一个app中 你已经启动了多个, 但是在当前这个activity想关掉这个app所有的activity的话
Intent intent=new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
star ...
android:background="@android:drawable/list_selector_background"
https://github.com/ApmeM/android-flowlayout 使用这个类库。
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
/**
*
* @author RAW
*/
public class FlowLayout extends ViewGroup {
private final static int PAD_H = ...
try {
Object content = message.getContent();
if (content instanceof String) {
Log.v("Content", content.toString());
}else {
...
http://openaphid.github.com/blog/2012/05/21/how-to-implement-flipboard-animation-on-android/
bottomFrameAnimationOut = new TranslateAnimation(TranslateAnimation.RELATIVE_TO_SELF, 0f, TranslateAnimation.RELATIVE_TO_SELF, 0f, TranslateAnimation.ABSOLUTE, -205, TranslateAnimation.ABSOLUTE, 0);
原来这里的每一个参数都是相对于当前view的值。
如果你想点击一个按钮然后把一个view从一个地方移到另一个地方的话。
mailboxHeaderBar.setOnClickLis ...
引用set character_set_client = utf8;
set character_set_connection = utf8;
set character_set_results = utf8;
etAccount.setEnabled(false);
etAccount.setKeyListener(null);
"setEnabled" just make the edittext gray.
这个快捷键有点像mac的 command+~
引用我觉得目前Win7中的“Win+数字”启动方式最好,很可惜目前我没有找到任何一个软件可以完整实现它的功能。下面详述一下,希望能用语言描述清楚。
关于Win7中的“Win+数字”启动方式的强大 ...
下面是script:
引用;Autohotkey script to translate some Mac shortcuts for Windows
;Use Alt key instead of control key (Alt key is at the same place of Cmd on Mac)
;On Mac all hotkeys often used are: cmd+c, cmd+v, ... -> ctrl+c, ctrl+v, ... (on PC)
;Use ScrollLock key to temporary activate / descativate ...