<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:l="sap.ui.layout" xmlns:html="http://www.w3.org/1999/xhtml">
  <Dialog
    title="{i18n>spreadsheetimporter.busyDialogTitle}"
    resizable="false"
    contentWidth="{= ${device>/system/phone} ? '100%' : '40vw' }"
    contentHeight="130px"
    verticalScrolling="false"
  >
    <content>
      <FlexBox direction="Column" height="100%" width="80%" alignItems="Stretch" justifyContent="Center" fitContainer="true" class="centered">
        <BusyIndicator visible="true">
          <layoutData>
            <FlexItemData growFactor="2" styleClass="centeredFlex" />
          </layoutData>
        </BusyIndicator>
        <ProgressIndicator displayValue="{busyModel>/progressText}" percentValue="{busyModel>/progressPercent}" showValue="true" width="1.5rem">
          <layoutData>
            <FlexItemData growFactor="4" styleClass="centeredFlex" />
          </layoutData>
        </ProgressIndicator>
      </FlexBox>
    </content>
  </Dialog>
</core:FragmentDefinition>
