如何在android中实现循环菜单
我开始在我的android应用程序上定制圆形小部件。通过将回收器视图转换为曲线形状,我得到了与我的要求类似的东西。但问题是多个层次相互重叠。如何使层可以独立单击。请帮帮我。提前谢谢如何在android中实现循环菜单,android,android-layout,android-recyclerview,android-custom-view,circular-dependency,Android,Android Layout,Android Recyclerview,Android Custom View,Circular Dependency,我开始在我的android应用程序上定制圆形小部件。通过将回收器视图转换为曲线形状,我得到了与我的要求类似的东西。但问题是多个层次相互重叠。如何使层可以独立单击。请帮帮我。提前谢谢 在可绘制文件中使用此选项。这将是正确的曲线 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rec
在可绘制文件中使用此选项。这将是正确的曲线
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/colorPrimary" />
<corners android:topRightRadius="150dp" />
</shape>
谢谢你的建议。我可以将背景设置为可绘制,这不是问题所在。当我试图在拐角处滚动时,顶部的recyclerview被滚动,而不是第二个。我只是想知道,我们如何才能阻止触摸事件被触发。在那个区域。