SpecialCyCi / AndroidResideMenu

The idea of ResideMenu is from Dribbble 1 and 2. It has come true and run in iOS devices. iOS ResideMenu This project is the RefsideMenu Android version. The visual effect is partly referred to iOS version of ResideMenu. And thanks to the authors for the above idea and contribution.
MIT License
2.85k stars 1.1k forks source link

发现一个布局问题? #130

Open JackZhous opened 7 years ago

JackZhous commented 7 years ago

你的侧滑布局视图都是从根视图residemenu_custom.xml出发进行布局的,里面是两个ImageView和一个RelativeLayout组件构成,并且三个属性都是match_parent;这样会导致基础布局视图在绘制时就要绘制3次,如果我使用你们框架在加一些自己的视图,就很有可能达到5层甚至以上的视图布局,这样就会导致GPU的过渡绘制,所有建议你们底层根视图修改一下;我自己的解决办法是把你们的两个ImageView设置了android:visibility="gone"就好了