hasWindowFeature

abstract fun hasWindowFeature(featureId: Int): Boolean(source)

Query for the availability of a certain feature.

This should be called instead of hasFeature.

Return

true if the feature is enabled, false otherwise.

Parameters

featureId

The feature ID to check