8大排序算法图文讲解
http://www.jcodecraeer.com/a/chengxusheji/shejimoshi/2015/0527/2941.html
svg變形動畫
http://www.jcodecraeer.com/a/opensource/2015/0905/3421.html
裡面提到一個手段實現這一過程的方法:
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0306/2553.html
文章主要介紹這個命令:
java -jar vectalign.jar –start image1.svg –end image2.svg
能將不同大小的svg圖片生成需要的path數據
變換原理是:
VectAlign是基于 Needleman-Wunsch算法。
Design Support Library用法
http://www.jcodecraeer.com/a/anzhuokaifa/developer/2015/0531/2958.html
一些代碼:
http://www.jcodecraeer.com/a/anzhuokaifa/developer/2014/1117/1994.html
View decorView = getActivity().getWindow().getDecorView();
// Calling setSystemUiVisibility() with a value of 0 clears
// all flags.
decorView.setSystemUiVisibility(0);
監控Ui的可見性變化
http://www.jcodecraeer.com/a/anzhuokaifa/developer/2014/1117/1998.html
View decorView = getWindow().getDecorView();
decorView.setOnSystemUiVisibilityChangeListener
(new View.OnSystemUiVisibilityChangeListener() {
@Override
public void onSystemUiVisibilityChange(int visibility) {
// Note that system bars will only be "visible" if none of the
// LOW_PROFILE, HIDE_NAVIGATION, or FULLSCREEN flags are set.
if ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0) {
// TODO: The system bars are visible. Make any desired
// adjustments to your UI, such as showing the action bar or
// other navigational controls.
} else {
// TODO: The system bars are NOT visible. Make any desired
// adjustments to your UI, such as hiding the action bar or
// other navigational controls.
}
}
});