<?xml version="1.0" encoding="utf-8"?>
<DirectionalLayout
    xmlns:ohos="http://schemas.huawei.com/res/ohos"
    ohos:height="match_parent"
    ohos:width="match_parent"
    ohos:alignment="center"
    ohos:orientation="vertical"
    ohos:background_element="#80000000">
    <!-- 半透明黑色背景 -->

    <!-- 对话框内容容器（白色圆角卡片） -->
    <DirectionalLayout
        ohos:id="$+id:dialog_container"
        ohos:height="match_content"
        ohos:width="280vp"
        ohos:orientation="vertical"
        ohos:background_element="$graphic:background_circle_16">

        <!-- 标题 -->
        <Text
            ohos:id="$+id:dialog_title"
            ohos:height="match_content"
            ohos:width="match_parent"
            ohos:text="请选择"
            ohos:text_size="18fp"
            ohos:text_color="#333"
            ohos:text_weight="700"
            ohos:text_alignment="center"
            ohos:top_padding="24vp"
            ohos:left_padding="24vp"
            ohos:right_padding="24vp"
            ohos:bottom_padding="12vp"/>

        <!-- 列表容器 -->
        <ListContainer
            ohos:id="$+id:list_container"
            ohos:height="match_content"
            ohos:width="match_parent"
            ohos:max_height="400vp"
            ohos:top_margin="4vp"
            ohos:bottom_margin="4vp"/>

        <!-- 取消按钮 -->
        <Button
            ohos:id="$+id:btn_cancel"
            ohos:height="48vp"
            ohos:width="match_parent"
            ohos:text="取消"
            ohos:text_size="16fp"
            ohos:text_color="#999999"
            ohos:background_element="#00000000"
            ohos:top_margin="8vp"
            ohos:top_padding="8vp"
            ohos:bottom_padding="8vp"/>

    </DirectionalLayout>

</DirectionalLayout>

