Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现一个布局问题? #130

Open
JackZhous opened this issue Jul 6, 2017 · 0 comments
Open

发现一个布局问题? #130

JackZhous opened this issue Jul 6, 2017 · 0 comments

Comments

@JackZhous
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant