Free H14-231_V1.0 Exam Braindumps (page: 21)

Page 21 of 176

A developer has developed with the Text component, and the effect is as follows, which piece of code can be used to achieve the effect?

  1. <Text ohos:height="match_content"
    ohos:width="match_content"
    ohos:text="HarmonyOS:Hello world!"
    ohos:text_color="$color: white"
    ohos:text_size="100"

    ohos:multiple_lines="true"
    ohos:top_margin="15"
    ohos:left_margin="15"
    ohos:right_margin="15"
    ohos:background_element="$graphic:background_text"/>
  2. <Text ohos:height="match_parent"
    ohos:width="match_parent"
    ohos:text="HarmonyOS:Hello world!"
    ohos:text_color="$color: white"
    ohos:text_size="100"
    ohos:multiple_lines="true"
    ohos:top_margin="15"
    ohos:left_margin="15"
    ohos:right_margin="15"
    ohos:background_element="$graphic:background_text"/>
  3. <Text ohos:height="match_content"
    ohos:width="match_parent"
    ohos:text="HarmonyOS:Hello world!"
    ohos:text_color="$color: white"
    ohos:text_size="100"
    ohos:multiple_lines="false"
    ohos:top_margin="15"
    ohos:left_margin="15"
    ohos:right_margin="15"
    ohos:background_element="$graphic:background_text"/>
  4. <Text ohos:height="match_parent"

    ohos:width="match_content"
    ohos:text="HarmonyOS:Hello world!"
    ohos:text_color="$color: white"
    ohos:text_size="100"
    ohos:multiple_lines="false"
    ohos:top_margin="15"
    ohos:left_margin="15"
    ohos:right_margin="15"
    ohos:background_element="$graphic:background_text"/>

Answer(s): A



A developer obtains a log content: static finalHiLogLabel LABEL = new HiLogLabe1

(HiLog.LOG_APP,Ox00201, "MY_TAG"); Which of the following information can't be obtained?

  1. log level
  2. The business area of the log
  3. Log ID
  4. Log type

Answer(s): A



The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods does the user recover the data?

  1. onStartContinuation
  2. onRestoreData
  3. onCompleteContinuation
  4. onSaveData

Answer(s): B



Both the provider and user of DataAbility use a URI (UnifomResourceldentifier) to identify a specific data, and the format of the URI is as follows:

Scheme://[authority]/[path][? query][#fragment]

Which is the correct URI description in the cross-device scenario and the local device scenario?

  1. In cross-device scenarios, you do not need to enter authority
  2. In cross-device scenarios, the scheme is fixed to "dataability".
  3. In the local device scenario, authority does not need to be specified
  4. In the local setting, the path does not need to be specified

Answer(s): C






Post your Comments and Discuss Huawei H14-231_V1.0 exam with other Community members:

H14-231_V1.0 Exam Discussions & Posts