简体   繁体   English

可滚动的Arc Menu android

[英]Scroll able Arc Menu android

we have got a requirement in our ongoing project where we need to show menu items in arc style at both upper space and lower space of the screen in reverse direction(will show you samples). 我们在进行中的项目中有一个要求,我们需要以相反的方向在屏幕的上部和下部以弧形显示菜单项(将向您显示示例)。 i've tried to use some of the code from the demo of ArcMenu used in Path android application , but what i came up with is this: 我试图使用Path Android应用程序中使用的ArcMenu演示中的一些代码,但是我想到的是:

img1img2

This is not what i want to achieve but something like menus in following images. 这不是我想要实现的,而是下图中的菜单之类的东西。

img3

I am trying to achieve this from last 4 to 5 days but not getting it right. 我试图在过去4到5天内实现这一目标,但并没有正确完成。 if any one out there has done any research on such problem then please guide me. 如果有任何人对此问题进行过研究,请指导我。

any help would be greatly appreciated. 任何帮助将不胜感激。

Make ListView in Circular 使ListView循环显示

Follow this its working code . 遵循其工作代码 Code is provided by Samsung 代码由三星提供

may be it will workfor your issues 可能会解决您的问题

http://developer.samsung.com/android/samples/Circle-Launcher http://developer.samsung.com/android/samples/Circle-Launcher

That's quite a complicated task, especially since you want it to scroll while respecting its arc shape. 这是一项非常复杂的任务,尤其是因为您希望它在滚动时要尊重其弧形。 There are probably no fixed answers for this, you'll have to manually create this type of interaction. 对此可能没有固定的答案,您必须手动创建这种类型的交互。 Unless you have specific code examples of what you've tried and failed at, I don't think anyone can really help you here. 除非您有尝试过或失败过的特定代码示例,否则我认为没有人可以在这里真正为您提供帮助。 Besides the technical difficulty, you could wonder if it is really a smart idea to have THAT many options in an already pretty unclear/overwhelming widget, that you can scroll to even more options. 除了技术上的困难之外,您可能想知道在一个已经非常不清楚/不堪重负的小部件中具有许多选项,您可以滚动到更多选项,是否真的是一个聪明的主意。 Maybe some design re-thinking is a better option. 也许对设计进行一些重新思考是一个更好的选择。

Some examples though which could you get on the way would be here; 虽然可以通过一些例子找到这里; https://stackoverflow.com/questions/12072692/a-circular-layout-with-scrollable-contents-in-it https://stackoverflow.com/questions/12072692/a-circular-layout-with-scrollable-contents-in-it

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM