반응형
android, navigation drawer close and open listener set. |
mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, R.drawable.ic_drawer, R.string.drawer_open, R.string.drawer_close) {
/** Called when a drawer has settled in a completely closed state. */
public void onDrawerClosed(View drawerView) {
// ... do sth.
}
/** Called when a drawer has settled in a completely open state. */
public void onDrawerOpened(View drawerView) {
// ... do sth.
}
};
반응형
'프로그래밍 놀이터 > 안드로이드, Java' 카테고리의 다른 글
[android] how to add comma in the EditText. (0) | 2013.12.30 |
---|---|
[Java] Reflection Tutorial - Array (0) | 2013.12.30 |
[Java] Reflection Tutorial - Generics (0) | 2013.12.27 |
[android] LocalBroadcastManager 이야기. (0) | 2013.12.23 |
[Java] Reflection Tutorial - Annotations. (0) | 2013.12.23 |
댓글