Sketchware Tutorial part 2 (LinearLayout and scrollView)

Veröffentlicht am: 04 Juli 2023
auf dem Kanal: Hykelauncher
124
0

Sketchware Tutorial part 2 (LinearLayout and scrollView)
Sketchware Tutorial part 2 Layouts (LinearLayout and scrollView)


Here's a step-by-step tutorial on how to create a LinearLayout with a ScrollView in Sketchware:

Step 1: Create a new project in Sketchware and open the main.xml layout file.

Step 2: Drag and drop a LinearLayout component from the Palette onto the main.xml layout.

Step 3: Set the orientation of the LinearLayout to vertical by selecting it and changing the orientation property in the Properties panel to "vertical".

Step 4: Inside the LinearLayout, add as many components as you want. These components will be scrollable inside the ScrollView.

Step 5: Drag and drop a ScrollView component from the Palette onto the main.xml layout. Make sure it is placed outside the LinearLayout.

Step 6: Select the ScrollView component and set its width and height properties to "match_parent" in the Properties panel.

Step 7: Inside the ScrollView, drag and drop another LinearLayout component from the Palette. This LinearLayout will be used to contain the components that you want to make scrollable.

Step 8: Set the orientation of this LinearLayout to vertical by selecting it and changing the orientation property in the Properties panel to "vertical".

Step 9: Drag and drop the components that you want to make scrollable inside this LinearLayout.

Step 10: Finally, select the outermost LinearLayout (the one that is not inside the ScrollView) and set its width and height properties to "match_parent" in the Properties panel.

That's it! You have now created a LinearLayout with a ScrollView in Sketchware. The components inside the inner LinearLayout will be scrollable vertically within the ScrollView.


Auf dieser Seite können Sie das Online-Video Sketchware Tutorial part 2 (LinearLayout and scrollView) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Hykelauncher 04 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 124 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!