public DrawerItem setTextMode ( int textMode ) { if ( textMode != SINGLE_LINE && textMode != TWO_LINE && textMode != THREE_LINE ) { throw new IllegalArgumentException ( "Image mode must be either SINGLE_LINE, TWO_LINE or THREE_LINE." ) ; } mTextMode = textMode ; notifyDataChanged ( ) ; return this ; }
Sets a text mode to the drawer item