且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android - 使滑动抽屉从左向右滑动

更新时间:2022-05-02 22:48:49

这里有一个教程:link

滑动抽屉好像没有定位,找不到sdk提供的布局属性.但是就像在上面的教程中一样,您可以编写自己的滑动抽屉小部件并应用布局属性来定位滑块/面板.

It seems that there is no positioning for sliding drawer, I can not find any layout attributes provided by the sdk. But like in the tutorial above you could write your own sliding drawer widget and apply layout attributes to position the slider/panel.

您可以查看https://github.com/umano/AndroidSlidingUpPanel