Split-View Layout Navigation is a container component that provides two layouts: single-column layout and split-view layout. The split-view layout is applicable to wide-screen devices. In this layout,
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-support-gesture
Implementing Gesture Responses When a user action matches the predefined characteristics of a gesture, the system recognizes it as that gesture. This process is called gesture recognition. To respond
阅读全文
openharmony 鸿蒙 arkts-navigation-navdestination
Subpage NavDestination is the root container for Navigation subpages and is used to hold special attributes as well as lifecycles of subpages. You can set separate attributes such as the title bar and
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-gamepad
Handling Gamepad Input Events Since API version 15, ArkUI supports gamepads as input devices. When a user operates a gamepad, the system recognizes its input actions and reports them as key events or
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-keyboard
Handling Keyboard Input Events Key events generated by physical keys are non-pointer events. Unlike pointer events such as touch events, non-pointer events lack coordinate information and are dispatch
阅读全文
openharmony 鸿蒙 arkts-user-defined-arktsNode-crossLanguage
Setting Custom Node Cross-Language Attributes Overview ArkUI supports creating imperative nodes using the ArkTS language on the frontend, that is, FrameNodes. It also allows creating imperative nodes
阅读全文
openharmony 鸿蒙 arkts-text-faq
FAQs About Text Components This topic addresses common issues related to text components. FAQs About Text Display (Text/Span) This section describes FAQs about text display using the Text and Span com
阅读全文
openharmony 鸿蒙 arkts-env-system-property
@Env: Environment Variable In multi-device development scenarios, you can use the @Env decorator to listen for changes of system environment variables and determine the scenario based on the system en
阅读全文
openharmony 鸿蒙 ndk-build-on-multi-thread
Creating Multi-threaded Components with the NDK Overview In versions earlier than API version 22, UI component creation and attribute setting must be performed in the application's UI thread. This mea
阅读全文
openharmony 鸿蒙 arkts-universal-attributes-accessibility
Supporting Accessibility Overview Accessibility service is a set of solutions aimed at providing seamless access to all scenarios. The screen reader can convert the UI elements and content of an appli
阅读全文