@ TargetApi ( Build . VERSION_CODES . LOLLIPOP ) public void setElegantTextHeight ( boolean elegant ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . LOLLIPOP ) mInputView . setElegantTextHeight ( elegant ) ; }
Set the TextView s elegant height metrics flag . This setting selects font variants that have not been compacted to fit Latin - based vertical metrics and also increases top and bottom bounds to provide more space .