private void init ( ) { MAX_BUTTON_WIDTH = TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , 124f , getResources ( ) . getDisplayMetrics ( ) ) ; MIN_BUTTON_WIDTH = TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , 88f , getResources ( ) . getDisplayMetrics ( ) ) ; }
Initialize the view