@ TargetApi ( Build . VERSION_CODES . HONEYCOMB ) public static RoundedColorDrawable fromColorDrawable ( ColorDrawable colorDrawable ) { return new RoundedColorDrawable ( colorDrawable . getColor ( ) ) ; }
Creates a new instance of RoundedColorDrawable from the given ColorDrawable .