I know this might be a duplicate question but i am a beginner at android development so i am not even sure what i am searching for exactly but what i am trying to implement is a menu in which a person swipes to move to second item in menu.. i know about listview but what i want to implement is that when the user swipes to left or right it sees a new menu item. So it shouldnt be scrolling but a switch on swipping. I am not sure if am clear on this but i know one way of doing this is by creating an activity for each menu item but i think thats a noob step so can i anyone shed some light on this?
Thanks a lot in advance.
Related
I have a listview and on swiping (either right or left) I want to provide intent. I searched and I got to know to use Gesture for this purpose but I did not get how I should use this with listview. Please somebody help me with the example (I am new to Android and I need complete explanation and similar example) Thanks in advance.
I'm looking to do something on Android.
I want to press with my finger some image for like a second and make it appear a menu; however, I would still have to be pressing the screen while I move to the chosen option. From the moment I quit my finger from that option it would be the selected.
I've been looking for tutorial's and "how to"s but I can't have a clue on how to do that. I would appreciate some help in this topic
Thank you very much for your time
Its better to display the Context_Menu onLongClickListener and let the user to chose the option.
The idea of keeping the screen pressed its not really a good idea.
Most of the people are unaware of that. Whereas, if u just simply display a context menu and let user click the desired option, it will be better.
I need help as I am a bit stuck.
I want to know what is the best method to implement for what I want in my app. I want the user to be able to click on an image in a page, and a popup menu appears. The user would have a selction of 5 items, and they would be able to click on one of them and the app would go to the selected menut item/page.
I have a popup Menu that works, but I am not able to style it. I have asked about it, but the answers seem to be that it is not possible to do so.
I have also implemented a PopupWindow, but although the items appear as a list, it is not possible to select them.
Would someone advice me as to what is the best to implement?
Thanks very much. I can post both sets of code: for PopupMenu and PopupWindow, if that helps.
What is Android's concept of deleting a list item? I thought of something like long-pressing it which will pop-up a dialog box to confirm / reject...
But would like to know what is the most popular way of doing it in Android.
Thanks!
This question is regarding to UX design. Generally speaking, the most popular approach of deleting items are:
Long press and pop up context menu
On action bar, entering selection mode and then choose the action
Slide to right/left and display a delete indicator on the item
You might choose/combine appropriate methods.
I have found this link may explain everything you need for the deletion in list view.
https://ux.stackexchange.com/questions/48112/typical-android-app-behavior-for-deleting-data-from-a-list
I want to build an application and I like very much the H&M menu. Anyone can help me with some ideas how to build this kind of menu on android?
It’s an expandable menu which appear when you click on the H&M Logo.
http://img822.imageshack.us/img822/7509/hmmenu.png
The best way to go about this is implementing a Custom View in your application.
What I would recommend is to develop a ViewStub that you can drop-in and populate whenever the user presses the button. This way, you can reuse it across screens, and there is only one thing to change if you need to add/remove an item.
Hope this helps!