package aapt.pb

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AllowNew

Resources.proto:143

Whether a resource comes from a compile-time overlay and is explicitly allowed to not overlay an existing resource.

Used in: Entry

message Array

Resources.proto:503

A value that represents an array of resource values.

Used in: CompoundValue

message Array.Element

Resources.proto:505

A single element of the array.

Used in: Array

message Attribute

Resources.proto:401

A value that represents an XML attribute and what values it accepts.

Used in: CompoundValue

enum Attribute.FormatFlags

Resources.proto:422

Bitmask of formats allowed for an attribute.

message Attribute.Symbol

Resources.proto:403

A Symbol used to represent an enum or a flag.

Used in: Attribute

message Boolean

Resources.proto:284

Message holding a boolean, so it can be optionally encoded.

Used in: Reference

message CompoundValue

Resources.proto:272

A CompoundValue is an abstract type. It represents a value that is a made of other values. These can only usually appear as top-level resources. The concrete type is one of the types below. Only one can be set.

Used in: Value

message ConfigValue

Resources.proto:231

A Configuration/Value pair.

Used in: Entry

message Configuration

Configuration.proto:26

A description of the requirements a device must have in order for a resource to be matched and selected.

Used in: ConfigValue, internal.CompiledFile

enum Configuration.Hdr

Configuration.proto:59

Used in: Configuration

enum Configuration.Keyboard

Configuration.proto:103

Used in: Configuration

enum Configuration.KeysHidden

Configuration.proto:96

Used in: Configuration

enum Configuration.LayoutDirection

Configuration.proto:27

Used in: Configuration

enum Configuration.NavHidden

Configuration.proto:110

Used in: Configuration

enum Configuration.Navigation

Configuration.proto:116

Used in: Configuration

enum Configuration.Orientation

Configuration.proto:65

Used in: Configuration

enum Configuration.ScreenLayoutLong

Configuration.proto:41

Used in: Configuration

enum Configuration.ScreenLayoutSize

Configuration.proto:33

Used in: Configuration

enum Configuration.ScreenRound

Configuration.proto:47

Used in: Configuration

enum Configuration.Touchscreen

Configuration.proto:89

Used in: Configuration

enum Configuration.UiModeNight

Configuration.proto:83

Used in: Configuration

enum Configuration.UiModeType

Configuration.proto:72

Used in: Configuration

enum Configuration.WideColorGamut

Configuration.proto:53

Used in: Configuration

message Entry

Resources.proto:202

An entry declaration. An entry has a full resource ID that is the combination of package ID, type ID, and its own entry ID. An entry on its own has no value, but values are defined for various configurations/variants.

Used in: Type

message EntryId

Resources.proto:195

An entry ID in the range [0x0000, 0xffff].

Used in: Entry

message FileReference

Resources.proto:359

A value that is a reference to an external entity, like an XML file or a PNG.

Used in: Item

enum FileReference.Type

Resources.proto:360

Used in: FileReference, internal.CompiledFile

message Id

Resources.proto:322

A value that represents an ID. This is just a placeholder, as ID values are used to occupy a resource ID (0xPPTTEEEE) as a unique identifier. Their value is unimportant.

Used in: Item

(message has no fields)

message Item

Resources.proto:257

An Item is an abstract type. It represents a value that can appear inline in many places, such as XML attribute values or on the right hand side of style attribute definitions. The concrete type is one of the types below. Only one can be set.

Used in: Array.Element, Plural.Entry, Style.Entry, Value, XmlAttribute

message MacroBody

Resources.proto:606

Used in: CompoundValue

message NamespaceAlias

Resources.proto:614

Used in: MacroBody

message Overlayable

Resources.proto:152

Represents a set of overlayable resources.

Used in: ResourceTable

message OverlayableItem

Resources.proto:162

Represents an overlayable <item> declaration within an <overlayable> tag.

Used in: Entry

enum OverlayableItem.Policy

Resources.proto:163

Used in: OverlayableItem

message Package

Resources.proto:70

Defines resources for an Android package.

Used in: ResourceTable

message PackageId

Resources.proto:65

A package ID in the range [0x00, 0xff].

Used in: Package

message Plural

Resources.proto:521

A value that represents a string and its many variations based on plurality.

Used in: CompoundValue

enum Plural.Arity

Resources.proto:523

The arity of the plural.

Used in: Entry

message Plural.Entry

Resources.proto:533

The plural value for a given arity.

Used in: Plural

message Primitive

Resources.proto:377

A value that represents a primitive data type (float, int, boolean, etc.). Refer to Res_value in ResourceTypes.h for info on types and formatting

Used in: Item

message Primitive.EmptyType

Resources.proto:380

Used in: Primitive

(message has no fields)

message Primitive.NullType

Resources.proto:378

Used in: Primitive

(message has no fields)

message RawString

Resources.proto:333

A value that is a raw string, which is unescaped/uninterpreted. This is typically used to represent the value of a style attribute before the attribute is compiled and the set of allowed values is known.

Used in: Item

message Reference

Resources.proto:289

A value that is a reference to another resource. This reference can be by name or resource ID.

Used in: Attribute.Symbol, Item, Style, Style.Entry, Styleable.Entry

enum Reference.Type

Resources.proto:290

Used in: Reference

message ResourceTable

Resources.proto:51

Top level message representing a resource table.

message Source

Resources.proto:38

Developer friendly source file information for an entity in the resource table.

Used in: AllowNew, Array.Element, Attribute.Symbol, Overlayable, OverlayableItem, Plural.Entry, StagedId, Style, Style.Entry, Styleable.Entry, Value, Visibility

message SourcePosition

Resources.proto:32

The position of a declared entity within a file.

Used in: MacroBody, Source, XmlAttribute, XmlNamespace, XmlNode, internal.CompiledFile.Symbol, internal.CompiledFileLegacy.Symbol

message StagedId

Resources.proto:190

The staged resource ID definition of a finalized resource.

Used in: Entry

message String

Resources.proto:326

A value that is a string.

Used in: Item

message StringPool

Resources.proto:27

A string pool that wraps the binary form of the C++ class android::ResStringPool.

Used in: ResourceTable

message Style

Resources.proto:457

A value that represents a style.

Used in: CompoundValue

message Style.Entry

Resources.proto:459

An XML attribute/value pair defined in the style.

Used in: Style

message StyleString

Resources.proto:620

Used in: MacroBody

message StyleString.Span

Resources.proto:621

Used in: StyleString

message Styleable

Resources.proto:485

A value that represents a <declare-styleable> XML resource. These are not real resources and only end up as Java fields in the generated R.java. They do not end up in the binary ARSC file.

Used in: CompoundValue

message Styleable.Entry

Resources.proto:487

An attribute defined for this styleable.

Used in: Styleable

message StyledString

Resources.proto:338

A string with styling information, like html tags that specify boldness, italics, etc.

Used in: Item

message StyledString.Span

Resources.proto:343

A Span marks a region of the string text that is styled.

Used in: StyledString

message ToolFingerprint

Resources.proto:45

The name and version fingerprint of a build tool.

Used in: ResourceTable

message Type

Resources.proto:94

A set of resources grouped under a common type. Such types include string, layout, xml, dimen, attr, etc. This maps to the second part of a resource identifier in Java (R.type.entry).

Used in: Package

message TypeId

Resources.proto:88

A type ID in the range [0x01, 0xff].

Used in: Type

message UntranslatableSection

Resources.proto:630

Used in: MacroBody

message Value

Resources.proto:237

The generic meta-data for every value in a resource table.

Used in: ConfigValue

message Visibility

Resources.proto:107

The Visibility of a symbol/entry (public, private, undefined).

Used in: Entry

enum Visibility.Level

Resources.proto:109

The visibility of the resource outside of its package.

Used in: Visibility

message XmlAttribute

Resources.proto:591

An attribute defined on an XmlElement (android:text="...").

Used in: XmlElement

message XmlElement

Resources.proto:564

An <element> in an XML document.

Used in: XmlNode

message XmlNamespace

Resources.proto:582

A namespace declaration on an XmlElement (xmlns:android="http://...").

Used in: XmlElement

message XmlNode

Resources.proto:553

Defines an abstract XmlNode that must be either an XmlElement, or a text node represented by a string.

Used in: XmlElement