Stay organized with collections Save and categorize content based on your preferences.

HasAndroidResources

interface HasAndroidResources
com.android.build.api.variant.HasAndroidResources

Summary

Public methods

abstract ResValue.Key
makeResValueKey(type: String, name: String)

Make a ResValue.Key to interact with resValues's MapProperty

Properties

abstract Property<Boolean>

Variant's is pseudo locales enabled, initialized by the corresponding DSL elements.

abstract MapProperty<ResValue.Key, ResValue>

Variant's ResValue which will be generated.

Public methods

makeResValueKey

abstract fun makeResValueKey(
    type: String,
    name: String
): ResValue.Key

Make a ResValue.Key to interact with resValues's MapProperty

Properties

pseudoLocalesEnabled

abstract val pseudoLocalesEnabled: Property<Boolean>

Variant's is pseudo locales enabled, initialized by the corresponding DSL elements.

resValues

abstract val resValues: MapProperty<ResValue.Key, ResValue>

Variant's ResValue which will be generated.