How to create a backend menu like in Magento 1.x?

Hello Guys,

I have to show the menu and submenu for my module like Mage1.X

Anyone know how to do that, in etc/menu.xml i have done this code

<menu>
<add id="Test_Design::test_design_sample_products" title="Create Sample Product" module="Test_Design" sortOrder="17" parent="design::base" action="slider/slider/index" resource="Test_Design::test_designtool_sampleproduct_index"/>
</menu>

It is working fine but i did’t get how to show submenus for this.

<?xml version="1.0"?>
<!--
/**
 * Copyright © 2015 Ocodewire. All rights reserved.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../app/code/Magento/Backend/etc/menu.xsd">
   <menu>
       <add id="Sample_Module::base" title="Dashboard" module="Sample_Module" sortOrder="10" resource="Sample_Module::sample"/>

       <add id="Sample_Module::custom_tab" title="Manage Designs" module="Sample_Module" sortOrder="10" parent="Sample_Module::base" resource="Sample_Module::custom_tab" />       
       <add id="Sample_Module::sample_module_base_design" title="Manage Base Design" module="Sample_Module" sortOrder="11" parent="Sample_Module::custom_tab" action="module/pattern" resource="Sample_Module::sample_module_index"/>

       <!-- repeat above same code from line 10-14 -->
               
   </menu>
</config>

Place this code in etc/menu.xml