SlidingPaneLayout in Sketchware
Here is a simple example of SlidingPaneLayout in Sketchware. Follow the steps below. 1. Create a new project. Switch on AppCompat and Design. 2. In main.xml add a LinearV linear1 , and set padding to 0. 3. Create a Custom View right_pane.xml . Here add two TextViews textview1 and textview2 . 4. Add a ListMap maplist , a Map map , and four More Blocks extra , createList , fragmentOne , fragmentTwo . 5. In More Block extra , declare static variables pane, one, two, title_list, and description_list. Also define a static void method setTexts(String, String). } public static androidx.slidingpanelayout.widget.SlidingPaneLayout pane; public static FragmentOne one; public static FragmentTwo two; public static ArrayList<String> title_list = new ArrayList<>(); public static ArrayList<String> description_list = new ArrayList<>(); public static void setTexts(String a, String b){ two.updateTexts(a, b); } { The method updateTexts(Str