首页 > 代码库 > 140816 记录

140816 记录

一、键盘布局
滚动条往下移
gridview.setOnFocusChangeListener(new EditText.OnFocusChangeListener() {

@Override
public void onFocusChange(View arg0, boolean arg1) {
// TODO Auto-generated method stub
if (!arg1) {
scrollToBottom();
    }
  }
});

}


public void scrollToBottom() {

Handler mHandler = new Handler();

mHandler.post(new Runnable() {
@Override
public void run() {
  sView.fullScroll(ScrollView.FOCUS_DOWN);
  }
});
}

控件隐藏 http://blog.csdn.net/liangguo03/article/details/7317543

二、输入框检测控件
https://github.com/vekexasia/android-edittext-validator

三、菜单布局
slidingmenu + fragment
http://www.pocketdigi.com/20130625/1121.html
http://www.krislq.com/2013/03/android_case_slidingmenu_fragment/
http://blog.csdn.net/qqiabc521/article/details/9289435

四、Fragment详解
http://blog.csdn.net/guolin_blog/article/details/8881711

五、接入google facebook 比较麻烦,阿语版后面再搞
文档http://download.csdn.net/detail/geolo/5747475