HasAndroidResources

public interface HasAndroidResources

AndroidTest

Properties for the android test Variant of a module.

TestFixtures
Variant

Parent interface for all types of variants.

ApplicationVariant

Properties for the main Variant of an application.

DynamicFeatureVariant
LibraryVariant

Variant for Library projects

TestVariant

Variant for test-only modules.


Summary

Public methods

abstract @NonNull Property<@NonNull Boolean>

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

abstract @NonNull MapProperty<@NonNull ResValue.Key, @NonNull ResValue>

Variant's ResValue which will be generated.

abstract @NonNull ResValue.Key

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

Public methods

getPseudoLocalesEnabled

abstract @NonNull Property<@NonNull BooleangetPseudoLocalesEnabled()

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

getResValues

abstract @NonNull MapProperty<@NonNull ResValue.Key, @NonNull ResValuegetResValues()

Variant's ResValue which will be generated.

makeResValueKey

abstract @NonNull ResValue.Key makeResValueKey(@NonNull String type, @NonNull String name)

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