Abonnieren

UiPath Apps

Die Anleitung für UiPath Apps

Build a Mobile-Friendly App

Überblick


You can use UiPath Apps to build mobile-friendly apps. The same app can be used on devices with different screen sizes, such as mobile phones, tablets, or computers, without any issues.
To demonstrate this, follow the steps from the Tutorial section.
You can also find a sample app file with more examples at the end of this page.

Tutorial


Use this example to build an app that contains three fields and a submit button. This app behaves differently depending on the screen size.

  1. Erstellen Sie eine neue App.
  2. Add a Container control to your app.
    2.1 Set the Layout of the container to Horizontal.
    2.2 Check the Allow wrapping property of the container.
    2.3 Configure the Width size of the container as 100 %.
191191
  1. Add a Textbox control in the container.
    3.1 Add Name in the Label property.
    3.2 Change the Label Placement to Top from the Style tab.
  2. Add a second Textbox control after the first one.
    4.1 Add Age in the Label property.
    4.2 Change the Label Placement to Top from the Style tab.
  3. Add a third Textbox control after the second one.
    4.1 Add Address in the Label property.
    4.2 Change the Label Placement to Top from the Style tab.
  4. Add a second container below the first one with the same Style properties.
  5. Add a Button control in the second container.
13881388

Result and testing


You can now preview and test your app.

To test your app using the Google Chrome browser, follow the steps below:

  1. Right-click anywhere on the page.
  2. Select Inspect from the menu.
  3. From the menu on the right-hand side, click Toggle device toolbar.
  4. Pick the desired dimensions from the dropdown list on the top of the page to test your app.
19201920

📘

Tipp:

In the case of the Container layout control, the containers inside are automatically mobile-friendly. If the controls inside the containers need to be reactive as well, use the Allow wrapping property.

For more examples, you can download the sample app file below.

Aktualisiert vor 2 Monaten

Build a Mobile-Friendly App


Auf API-Referenzseiten sind Änderungsvorschläge beschränkt

Sie können nur Änderungen an dem Textkörperinhalt von Markdown, aber nicht an der API-Spezifikation vorschlagen.