diff --git a/en/application-dev/internationalization/international-overview.md b/en/application-dev/internationalization/international-overview.md
index f41f6b0cb00c105e9a69e9e94388713c638ad658..dd9357e4d08d381d27d86590b8587f47bfa2540d 100644
--- a/en/application-dev/internationalization/international-overview.md
+++ b/en/application-dev/internationalization/international-overview.md
@@ -1,4 +1,4 @@
-# Overview
+# Internationalization Overview
If an application is targeted for users and markets in different regions with different languages and time zones, it is necessary for you to provide localized versions to ensure good experience for your users.
@@ -11,7 +11,7 @@ Internationalization capabilities determine how hard or easy application localiz
- Locale: an abstract representation of the commonalities of a group in terms of language, script, country or region, and other regional features such as calendar, sorting, and currency.
-- Preferred language: the language that the user prefers to use in a service or system. You can add a preferred language by choosing **Settings** > **System & updates** > **Language & input** > **Language and region** > **ADD LANGUAGE** on your mobile phone.
+- Preferred language: the language that the user prefers to use in a service or system. You can add a preferred language by choosing **Settings** > **System & updates** > **Language & input** > **Language and region** > **ADD LANGUAGE** on your device.
## Working Principles
diff --git a/en/application-dev/quick-start/basic-resource-file-categories.md b/en/application-dev/quick-start/basic-resource-file-categories.md
index db223b338d505727b8194c50ebc2e228daed89ec..6bd0f028068c553b7cc6d413421ac2e94aac2bbb 100644
--- a/en/application-dev/quick-start/basic-resource-file-categories.md
+++ b/en/application-dev/quick-start/basic-resource-file-categories.md
@@ -5,7 +5,7 @@
All the application resource files, such as strings, images, and audio files, are stored in the **resources** directory, allowing you to easily access, use, and maintain them. The **resources** directory consists of two types of sub-directories: the **base** sub-directory and qualifiers sub-directories, and the **rawfile** sub-directory. For details, see Categories of the **resources** directory.
- Example of the **resources** directory:
+Example of the **resources** directory:
```
resources
@@ -22,13 +22,13 @@ resources
|---rawfile // Default directory
```
- **Table 1** Categories of the **resources** directory
+**Table 1** Categories of the **resources** directory
-| Category | base and Qualifiers Sub-directories | rawfile Sub-directory |
-| -------- | -------- | -------- |
-| Structure | Sub-directories are structured in two levels. The directory name must comply with specified naming conventions so that its target resource file in the correct directory can be matched based on the device status.
The **base** sub-directory and qualifiers sub-directories are the first level of sub-directories under **resources**.
- The **base** sub-directory is generated by default. If no qualifiers sub-directories in the **resources** directory of the application match the device status, the resource file in the **base** sub-directory will be automatically referenced.
- You need to create qualifiers sub-directories on your own. Each directory name consists of one or more qualifiers that represent the application scenarios or device characteristics. For details, see [Qualifiers Sub-directories](#qualifiers-sub-directories).
Resource group sub-directories are located at the second level of sub-directories to store basic elements such as strings, colors, and boolean values, as well as resource files such as media, animations, and layouts. For details, see [Resource Group Sub-directories](#resource-group-sub-directories). | You can create multiple levels of sub-directories with custom directory names. They can be used to store various resource files.
However, resource files in the **rawfile** sub-directory will not be matched based on the device status. |
-| Compilation | Resource files in the sub-directories are compiled into binary files, and each resource file is assigned an ID. | Resource files in the sub-directory are directly packed into the application without being compiled, and no IDs will be assigned to the resource files. |
-| Reference | Resource files in the sub-directories are referenced based on the resource type and resource name. | Resource files in the sub-directories are referenced based on the specified file path and file name. |
+| Category | base and Qualifiers Sub-directories | rawfile Sub-directory |
+| ----------- | ---------------------------------------- | ---------------------------------------- |
+| Structure | Sub-directories are structured in two levels. The directory name must comply with specified naming conventions so that its target resource file in the correct directory can be matched based on the device status.
The **base** sub-directory and qualifiers sub-directories are the first level of sub-directories under **resources**.
- The **base** sub-directory is generated by default. If no qualifiers sub-directories in the **resources** directory of the application match the device status, the resource file in the **base** sub-directory will be automatically referenced.
- You need to create qualifiers sub-directories on your own. Each directory name consists of one or more qualifiers that represent the application scenarios or device characteristics. For details, see [Qualifiers Sub-directories](#qualifiers-sub-directories).
Resource group sub-directories are located at the second level of sub-directories to store basic elements such as strings, colors, and boolean values, as well as resource files such as media, animations, and layouts. For details, see [Resource Group Sub-directories](#resource-group-sub-directories). | You can create multiple levels of sub-directories with custom directory names. They can be used to store various resource files.
However, resource files in the **rawfile** sub-directory will not be matched based on the device status. |
+| Compilation | Resource files in the sub-directories are compiled into binary files, and each resource file is assigned an ID. | Resource files in the sub-directory are directly packed into the application without being compiled, and no IDs will be assigned to the resource files. |
+| Reference | Resource files in the sub-directories are referenced based on the resource type and resource name. | Resource files in the sub-directories are referenced based on the specified file path and file name. |
## Qualifiers Sub-directories
@@ -39,21 +39,22 @@ The name of a qualifiers sub-directory consists of one or more qualifiers that r
- Qualifiers are ordered in the following sequence: _MCC_MNC-language_script_country/region-screen orientation-device type-color mode-screen density_. You can select one or multiple qualifiers to name your sub-directory based on your application scenarios and device characteristics.
-- Separation between qualifiers: The language, script, and country/region qualifiers are separated using underscores (_); the MNC and MCC qualifiers are also separated using underscores (_); other qualifiers are separated using hyphens (-). For example, **zh_Hant_CN** and **zh_CN-car-ldpi**.
+- Separation between qualifiers: The language, script, and country/region qualifiers are separated using underscores (\_); the MNC and MCC qualifiers are also separated using underscores (\_); other qualifiers are separated using hyphens (-). For example, **zh_Hant_CN** and **zh_CN-car-ldpi**.
- Value range of qualifiers: The value of each qualifier must meet the requirements. Otherwise, the resource files in the sub-directory cannot be matched.
- **Table 2** Requirements for qualifier values
-
- | Qualifier Type | Description and Value Range |
- | -------- | -------- |
- | MCC&MNC | Indicates the MCC and MNC, which are obtained from the network where the device is registered. The MCC can be either followed by the MNC with an underscore (_) in between or be used independently. For example, **mcc460** represents China, and **mcc460_mnc00** represents China Mobile.
For details about the value range, refer to **ITU-T E.212** (the international identification plan for public networks and subscriptions). |
- | Language | Indicates the language used by the device. The value consists of two or three lowercase letters, for example, **zh** indicates Chinese, **en** indicates English, and **mai** indicates Maithili.
For details about the value range, refer to **ISO 639** (codes for the representation of names of languages). |
- | Script | Indicates the script type used by the device. The value starts with one uppercase letter followed by three lowercase letters, for example, **Hans** indicates simplified Chinese and **Hant** indicates traditional Chinese.
For details about the value range, refer to **ISO 15924** (codes for the representation of names of scripts). |
- | Country/Region | Indicates the country or region where a user is located. The value consists of two or three uppercase letters or three digits, for example, **CN** indicates China and **GB** indicates the United Kingdom.
For details about the value range, refer to **ISO 3166-1** (codes for the representation of names of countries and their subdivisions). |
- | Screen orientation | Indicates the screen orientation of the device. The value can be:
- **vertical**: portrait orientation
- **horizontal**: landscape orientation |
- | Device type | Indicates the device type. The value can be:
- **phone**: smartphones
- **tablet**: tablets
- **car**: head units
- **tv**: smart TVs
- **wearable**: wearables |
- | Color mode | Indicates the color mode of the device. The value can be:
- **dark**: dark mode
- **light**: light mode |
- | Screen density | Indicates the screen density of the device, in dpi. The value can be:
- **sdpi**: screen density with small-scale dots per inch (SDPI). This value is applicable for devices with a DPI range of (0, 120].
- **mdpi**: screen density with medium-scale dots per inch (MDPI). This value is applicable for devices with a DPI range of (120, 160].
- **ldpi**: screen density with large-scale dots per inch (LDPI). This value is applicable for devices with a DPI range of (160, 240].
- **xldpi**: screen density with extra-large-scale dots per inch (XLDPI). This value is applicable for devices with a DPI range of (240, 320].
- **xxldpi**: screen density with extra-extra-large-scale dots per inch (XXLDPI). This value is applicable for devices with a DPI range of (320, 480].
- **xxxldpi**: screen density with extra-extra-extra-large-scale dots per inch (XXXLDPI). This value is applicable for devices with a DPI range of (480, 640]. |
+
+ **Table 2** Requirements for qualifier values
+
+ | Qualifier Type | Description and Value Range |
+ | ------------------ | ---------------------------------------- |
+ | MCC&MNC | Indicates the MCC and MNC, which are obtained from the network where the device is registered. The MCC can be either followed by the MNC with an underscore (_) in between or be used independently. For example, **mcc460** represents China, and **mcc460_mnc00** represents China Mobile.
For details about the value range, refer to **ITU-T E.212** (the international identification plan for public networks and subscriptions). |
+ | Language | Indicates the language used by the device. The value consists of two or three lowercase letters, for example, **zh** indicates Chinese, **en** indicates English, and **mai** indicates Maithili.
For details about the value range, refer to **ISO 639** (codes for the representation of names of languages). |
+ | Script | Indicates the script type used by the device. The value starts with one uppercase letter followed by three lowercase letters, for example, **Hans** indicates simplified Chinese and **Hant** indicates traditional Chinese.
For details about the value range, refer to **ISO 15924** (codes for the representation of names of scripts). |
+ | Country/Region | Indicates the country or region where a user is located. The value consists of two or three uppercase letters or three digits, for example, **CN** indicates China and **GB** indicates the United Kingdom.
For details about the value range, refer to **ISO 3166-1** (codes for the representation of names of countries and their subdivisions). |
+ | Screen orientation | Indicates the screen orientation of the device. The value can be:
- **vertical**: portrait orientation
- **horizontal**: landscape orientation |
+ | Device type | Indicates the device type. The value can be:
- **car**: head units
- **tv**: smart TVs
- **wearable**: wearables |
+ | Color mode | Indicates the color mode of the device. The value can be:
- **dark**: dark mode
- **light**: light mode |
+ | Screen density | Indicates the screen density of the device, in dpi. The value can be:
- **sdpi**: screen density with small-scale dots per inch (SDPI). This value is applicable for devices with a DPI range of (0, 120].
- **mdpi**: screen density with medium-scale dots per inch (MDPI). This value is applicable for devices with a DPI range of (120, 160].
- **ldpi**: screen density with large-scale dots per inch (LDPI). This value is applicable for devices with a DPI range of (160, 240].
- **xldpi**: screen density with extra-large-scale dots per inch (XLDPI). This value is applicable for devices with a DPI range of (240, 320].
- **xxldpi**: screen density with extra-extra-large-scale dots per inch (XXLDPI). This value is applicable for devices with a DPI range of (320, 480].
- **xxxldpi**: screen density with extra-extra-extra-large-scale dots per inch (XXXLDPI). This value is applicable for devices with a DPI range of (480, 640]. |
**Rules for Matching Qualifiers Sub-directories and Device Resources**
@@ -66,14 +67,13 @@ The name of a qualifiers sub-directory consists of one or more qualifiers that r
You can create resource group sub-directories (including element, media, animation, layout, graphic, and profile) in the **base** and qualifiers sub-directories to store resource files of specific types. For details, see Resource group sub-directories.
+**Table 3** Resource group sub-directories
- **Table 3** Resource group sub-directories
-
-| Resource Group Sub-directory | Description | Resource File |
-| -------- | -------- | -------- |
-| element | Indicates element resources. Each type of data is represented by a JSON file. The options are as follows:
- **boolean**: boolean data
- **color**: color data
- **float**: floating-point data
- **intarray**: array of integer
- **integer**: integer data
- **pattern**: pattern data
- **plural**: plural form data
- **strarray**: array of strings
- **string**: string data | It is recommended that files in the **element** sub-directory be named the same as the following files, each of which can contain only data of the same type:
- boolean.json
- color.json
- float.json
- intarray.json
- integer.json
- pattern.json
- plural.json
- strarray.json
- string.json |
-| media | Indicates media resources, including non-text files such as images, audios, and videos. | The file name can be customized, for example, **icon.png**. |
-| animation | Indicates animation resources, in XML format. | The file name can be customized, for example, **zoom_in.xml**. |
-| layout | Indicates layout resources, in XML format. | The file name can be customized, for example, **home_layout.xml**. |
-| graphic | Indicates graphic resources, in XML format. | The file name can be customized, for example, **notifications_dark.xml**. |
-| profile | Indicates other types of files, which are stored in their raw formats. | The file name can be customized. |
+| Resource Group Sub-directory | Description | Resource File |
+| ---------------------------- | ---------------------------------------- | ---------------------------------------- |
+| element | Indicates element resources. Each type of data is represented by a JSON file. The options are as follows:
- **boolean**: boolean data
- **color**: color data
- **float**: floating-point data
- **intarray**: array of integer
- **integer**: integer data
- **pattern**: pattern data
- **plural**: plural form data
- **strarray**: array of strings
- **string**: string data | It is recommended that files in the **element** sub-directory be named the same as the following files, each of which can contain only data of the same type:
- boolean.json
- color.json
- float.json
- intarray.json
- integer.json
- pattern.json
- plural.json
- strarray.json
- string.json |
+| media | Indicates media resources, including non-text files such as images, audios, and videos. | The file name can be customized, for example, **icon.png**. |
+| animation | Indicates animation resources, in XML format. | The file name can be customized, for example, **zoom_in.xml**. |
+| layout | Indicates layout resources, in XML format. | The file name can be customized, for example, **home_layout.xml**. |
+| graphic | Indicates graphic resources, in XML format. | The file name can be customized, for example, **notifications_dark.xml**. |
+| profile | Indicates other types of files, which are stored in their raw formats. | The file name can be customized. |
diff --git a/en/application-dev/reference/apis/js-apis-system-prompt.md b/en/application-dev/reference/apis/js-apis-system-prompt.md
index f894715391f015cbd67ecf913a7923c00d4e78e1..c9b37ef403d7e6f958f91f2747710ad53ad4f983 100644
--- a/en/application-dev/reference/apis/js-apis-system-prompt.md
+++ b/en/application-dev/reference/apis/js-apis-system-prompt.md
@@ -25,9 +25,9 @@ Shows the toast.
**Parameters**
-| Name | Type | Mandatory | Description |
-| ------- | ------------------------------------- | ---- | --------------- |
-| options | [ShowToastOptions](#showtoastoptions) | Yes | Options for showing the toast.|
+| Name | Type | Mandatory | Description |
+| ------- | ------------------------------------- | --------- | ------------------------------ |
+| options | [ShowToastOptions](#showtoastoptions) | Yes | Options for showing the toast. |
**Example**
@@ -53,9 +53,9 @@ Shows the dialog box.
**Parameters**
-| Name | Type | Mandatory | Description |
-| ------- | --------------------------------------- | ---- | ----------- |
-| options | [ShowDialogOptions](#showdialogoptions) | Yes | Options for showing the dialog box.|
+| Name | Type | Mandatory | Description |
+| ------- | --------------------------------------- | --------- | ----------------------------------- |
+| options | [ShowDialogOptions](#showdialogoptions) | Yes | Options for showing the dialog box. |
**Example**
@@ -93,9 +93,9 @@ Shows the action menu.
**Parameters**
-| Name | Type | Mandatory | Description |
-| ------- | ---------------------------------------- | ---- | -------------------- |
-| options | [ShowActionMenuOptions](#showactionmenuoptions) | Yes | Options for showing the action menu.|
+| Name | Type | Mandatory | Description |
+| ------- | ---------------------------------------- | --------- | ------------------------------------ |
+| options | [ShowActionMenuOptions](#showactionmenuoptions) | Yes | Options for showing the action menu. |
**Example**
@@ -131,11 +131,11 @@ Describes the options for showing the toast.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
-| Name | Type | Mandatory | Description |
-| ------------------- | -------------- | ---- | ---------------------------------------- |
-| message | string | Yes | Text to display. |
-| duration | number | No | Duration that the toast will remain on the screen. The default value is 1500 ms. The recommended value range is 1500 ms to 10000 ms. If a value less than 1500 ms is set, the default value is used.|
-| bottom5+ | string\|number | No | Distance between the toast frame and the bottom of the screen. This parameter is available only on phones and tablets. |
+| Name | Type | Mandatory | Description |
+| ------------------- | -------------- | --------- | ---------------------------------------- |
+| message | string | Yes | Text to display. |
+| duration | number | No | Duration that the toast will remain on the screen. The default value is 1500 ms. The recommended value range is 1500 ms to 10000 ms. If a value less than 1500 ms is set, the default value is used. |
+| bottom5+ | string\|number | No | Distance between the toast frame and the bottom of the screen. |
## Button
@@ -143,10 +143,10 @@ Defines the prompt information of a button.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
-| Name | Type | Mandatory | Description |
-| ----- | ------ | ---- | ------- |
-| text | string | Yes | Text displayed on the button.|
-| color | string | Yes | Color of the button.|
+| Name | Type | Mandatory | Description |
+| ----- | ------ | --------- | ----------------------------- |
+| text | string | Yes | Text displayed on the button. |
+| color | string | Yes | Color of the button. |
## ShowDialogSuccessResponse
@@ -154,9 +154,9 @@ Defines the dialog box response result.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
-| Name | Type | Mandatory | Description |
-| ----- | ------ | ---- | ---------- |
-| index | number | Yes | Data index.|
+| Name | Type | Mandatory | Description |
+| ----- | ------ | --------- | ----------- |
+| index | number | Yes | Data index. |
## ShowDialogOptions
@@ -164,14 +164,14 @@ Describes the options for showing the dialog box.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
-| Name | Type | Mandatory | Description |
-| -------- | ---------------------------------------- | ---- | ---------------------------------------- |
-| title | string | No | Title of the text to display. |
-| message | string | No | Text body. |
-| buttons | [[Button](#button), [Button](#button)?, [Button](#button)?] | No | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. One to six buttons are supported. If there are more than six buttons, extra buttons will not be displayed.|
-| success | (data: [ShowDialogSuccessResponse](#showdialogsuccessresponse)) => void | No | Callback upon success. |
-| cancel | (data: string, code: string) => void | No | Callback upon failure. |
-| complete | (data: string) => void | No | Called when the API call is complete. |
+| Name | Type | Mandatory | Description |
+| -------- | ---------------------------------------- | --------- | ---------------------------------------- |
+| title | string | No | Title of the text to display. |
+| message | string | No | Text body. |
+| buttons | [[Button](#button), [Button](#button)?, [Button](#button)?] | No | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. One to six buttons are supported. If there are more than six buttons, extra buttons will not be displayed. |
+| success | (data: [ShowDialogSuccessResponse](#showdialogsuccessresponse)) => void | No | Callback upon success. |
+| cancel | (data: string, code: string) => void | No | Callback upon failure. |
+| complete | (data: string) => void | No | Called when the API call is complete. |
## ShowActionMenuOptions6+
@@ -179,10 +179,10 @@ Describes the options for showing the action menu.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
-| Name | Type | Mandatory | Description |
-| -------- | ---------------------------------------- | ---- | ---------------------------------------- |
-| title | string | No | Title of the text to display. |
-| buttons | [[Button](#button), [Button](#button)?, [Button](#button)?, [Button](#button)?, [Button](#button)?, [Button](#button)?] | Yes | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. One to six buttons are supported.|
-| success | (tapIndex: number, errMsg: string) => void | No | Invoked when a dialog box is displayed. |
-| fail | (errMsg: string) => void | No | Callback upon failure. |
-| complete | (data: string) => void | No | Invoked when a dialog box is closed. |
+| Name | Type | Mandatory | Description |
+| -------- | ---------------------------------------- | --------- | ---------------------------------------- |
+| title | string | No | Title of the text to display. |
+| buttons | [[Button](#button), [Button](#button)?, [Button](#button)?, [Button](#button)?, [Button](#button)?, [Button](#button)?] | Yes | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. One to six buttons are supported. |
+| success | (tapIndex: number, errMsg: string) => void | No | Invoked when a dialog box is displayed. |
+| fail | (errMsg: string) => void | No | Callback upon failure. |
+| complete | (data: string) => void | No | Invoked when a dialog box is closed. |
diff --git a/en/application-dev/ui/ui-js-components-picker.md b/en/application-dev/ui/ui-js-components-picker.md
index 97c965d100a6a527855e1346dc94e69284795ead..002a9d1b078fc7748d3033a7a770db420a9a820f 100644
--- a/en/application-dev/ui/ui-js-components-picker.md
+++ b/en/application-dev/ui/ui-js-components-picker.md
@@ -79,8 +79,7 @@ export default {
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
> - When setting the value range of a common selector, you must use the data binding mode.
->
-> - The **lunarswitch** attribute of the date selector is only supported on phones and tablets.
+>
## Setting the Time Format
@@ -118,7 +117,7 @@ Set the **hours** attribute to specify the time format used by the time selector
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
> - When **hours** is set to **12**, the time is displayed in 12-hour format and distinguished by a.m. and p.m.
->
+>
> - When **hours** is set to **24**, the time is displayed in 24-hour format.
diff --git a/en/application-dev/ui/ui-js-components-slider.md b/en/application-dev/ui/ui-js-components-slider.md
index fad51ad23f82100d7078c659733c9bb07abad22a..fa70566abb3cb3101caab3b7341616f624923475 100644
--- a/en/application-dev/ui/ui-js-components-slider.md
+++ b/en/application-dev/ui/ui-js-components-slider.md
@@ -93,10 +93,10 @@ Add the **mix**, **max**, **value**, **step**, and **mode** attributes to set th
![en-us_image_0000001276003517](figures/en-us_image_0000001276003517.gif)
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
-> Set the **mode** attribute to specify the slider style, which takes effect only on mobile phones and tablets. It can be set to:
->
+> Set the **mode** attribute to specify the slider style. It can be set to:
+>
> - **outset**: The slider is on the sliding bar.
->
+>
> - **inset**: The slider is inside the sliding bar.
diff --git a/zh-cn/application-dev/quick-start/basic-resource-file-categories.md b/zh-cn/application-dev/quick-start/basic-resource-file-categories.md
index d2ca64a3857ce8027ff494705bfc99c5790ee3dd..e5eec75d8dd2e1ac6b79bf35d5c3408d7754b76a 100644
--- a/zh-cn/application-dev/quick-start/basic-resource-file-categories.md
+++ b/zh-cn/application-dev/quick-start/basic-resource-file-categories.md
@@ -43,7 +43,8 @@ resources
- 限定词的连接方式:语言、文字、国家或地区之间采用下划线(_)连接,移动国家码和移动网络码之间也采用下划线(_)连接,除此之外的其他限定词之间均采用中划线(-)连接。例如:**zh_Hant_CN**、**zh_CN-car-ldpi**。
- 限定词的取值范围:每类限定词的取值必须符合限定词取值要求表中的条件,否则,将无法匹配目录中的资源文件。
- **表2** 限定词取值要求
+
+**表2** 限定词取值要求
| 限定词类型 | 含义与取值说明 |
| ----------- | ---------------------------------------- |
@@ -52,7 +53,7 @@ resources
| 文字 | 表示设备使用的文字类型,由1个大写字母(首字母)和3个小写字母组成。例如:Hans表示简体中文,Hant表示繁体中文。
详细取值范围,请查阅**ISO 15924**(ISO制定的文字编码标准)。 |
| 国家或地区 | 表示用户所在的国家或地区,由2~3个大写字母或者3个数字组成。例如:CN表示中国,GB表示英国。
详细取值范围,请查阅**ISO 3166-1**(ISO制定的国家和地区编码标准)。 |
| 横竖屏 | 表示设备的屏幕方向,取值如下:
- vertical:竖屏
- horizontal:横屏 |
-| 设备类型 | 表示设备的类型,取值如下:
- phone:手机
- tablet:平板
- car:车机
- tv:智慧屏
- wearable:智能穿戴 |
+| 设备类型 | 表示设备的类型,取值如下:
- car:车机
- tv:智慧屏
- wearable:智能穿戴 |
| 颜色模式 | 表示设备的颜色模式,取值如下:
- dark:深色模式
- light:浅色模式 |
| 屏幕密度 | 表示设备的屏幕密度(单位为dpi),取值如下:
- sdpi:表示小规模的屏幕密度(Small-scale Dots Per Inch),适用于dpi取值为(0, 120]的设备。
- mdpi:表示中规模的屏幕密度(Medium-scale Dots Per Inch),适用于dpi取值为(120, 160]的设备。
- ldpi:表示大规模的屏幕密度(Large-scale Dots Per Inch),适用于dpi取值为(160, 240]的设备。
- xldpi:表示特大规模的屏幕密度(Extra Large-scale Dots Per Inch),适用于dpi取值为(240, 320]的设备。
- xxldpi:表示超大规模的屏幕密度(Extra Extra Large-scale Dots Per Inch),适用于dpi取值为(320, 480]的设备。
- xxxldpi:表示超特大规模的屏幕密度(Extra Extra Extra Large-scale Dots Per Inch),适用于dpi取值为(480, 640]的设备。 |
@@ -68,7 +69,7 @@ resources
base目录与限定词目录下面可以创建资源组目录(包括element、media、animation、layout、graphic、profile),用于存放特定类型的资源文件,详见资源组目录说明。
- **表3** **资源组目录说明**
+ **表3** 资源组目录说明
| 资源组目录 | 目录说明 | 资源文件 |
| --------- | ---------------------------------------- | ---------------------------------------- |