I am trying to create a side navigation bar and i am designing the side navigation drawer but the layout is not showing in preview. According to stack-overflows answers i tried to solve by changing app theme and cache data but none worked for me, is there anything xml attribute i am missing here? or i have to initialize it in java class? (i haven't initialized navigation bar in my java class). i am newbie in android so please help me. Here is the preview of my problem.
Have you tried using the side navigation drawer that comes as a default activity, You can use this to familiarise yourself with the code, hence making it simpler to make your own custom side-nav drawer.
If you need more help customising your drawer check out this link , it might help you out a bit. For java.
This one for kotlin .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.