Android Sliding Drawer Open On Create

前端 未结 2 1801
灰色年华
灰色年华 2021-01-23 23:38

I want to have a slider that is open when the app starts. It will be open with buttons and such and when the user closes it, there will be more buttons to access. Is this possib

2条回答
  •  春和景丽
    2021-01-24 00:15

    Use open() in your onCreate(), it will open the drawer immediately.

    You can take a look at the full API here

提交回复
热议问题