I'm having a fragment, how can I display it as a navigation drawer like view on an image press open and close the fragment animation in Android

huangapple 未分类评论45阅读模式
英文:

I'm having a fragment, how can I display it as a navigation drawer like view on an image press open and close the fragment animation in Android

问题

我有一个片段,如何在图像被按下时将其显示为导航抽屉样式的视图,并进行打开和关闭片段的动画?

因此,在图像图标被按下时,从左向右打开片段,再次点击图像时,将片段从右向左移动并隐藏它,就像导航抽屉一样。
是否有可能实现这样的效果?

英文:

I'm having a fragment, how can I display it as a navigation drawer like view on an image press open and close the fragment animation?

So on an image icon press open the fragment from left to right and again clicking on image move the fragment right to left and hide it like a navigation drawer
Is it possible to do that?

huangapple
  • 本文由 发表于 2020年7月25日 23:01:02
  • 转载请务必保留本文链接:https://java.coder-hub.com/63089851.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定