Soluling home   Document home

Scan Rule of Android

Scan Rule of Android

Use this dialog to edit a scan rule of Android layout resources.

Component type

Enter the type name of the component where the property belongs. Enter this value only if the property is component-specific. If you want to scan all the same name properties no matter the component's type, leave this value empty. The value can contain wild cards (* and ?). If the property rule is a rule of a component, this edit is hidden.

Property name

Enter the name of the property. You must enter a value. The value can contain wild cards (* and ?).

Operation

Specifies if the property is localized or not. Possible values are:

Exclude Properties matching this rule are not localized.
Localize Properties matching this rule are localized.
Hide Properties matching this rule are scanned but hidden.

Format

Select the type of property. Possible values are

Value Description
Default The format of the data is detected and scanned as detected data. If can not be detected then property is scanned as a plain text.
String Property is scanned as plain text.
Integer Property is scanned as integer value.
Float Property is scanned as floating point value.
Boolean Property is scanned as boolean value.
Color Property is scanned as color value.
Font name Property is scanned as font name value.
Font size Property is scanned as fonr size value.

If you don't know the format, leave it to default. If the property you want to scan is so complex that default does not work and you can not use either expression or XML format, contact us to check if we can implement a dedicated parser for that property.