Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am creating an Android app for a college website. Now I want to add contents to each menu items, which on click should display paragraphs, images, etc. How to do this?
You have many ways to do this:
You can use two activities. ActivityA for the menu list and ActivityB for each list item's details when one is clicked on a menu item in ActivityA.
You can use an ExpandableListView.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to open an options menu from another button, not from an actionbar button, like so:
How can I make a menu show up on a button like this?
...
What you're looking for can be done using a PopupMenu object.
You can look at these simple examples:
https://www.tutorialspoint.com/android-popup-menu-example
or
https://www.javatpoint.com/android-popup-menu-example
There are many other examples on the Web and YouTube.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I want to display the menu below the emitting item, I dont know how to do that. Now it is displaying over the emitting item (material design. I use AppcompatActivity).
[link] (google.com/design/spec/components/menus.html#menus-usage). this is what happening now. But i want it to display below the emitting item
like this
Any help is great help for me.
You should use PopupMenu. Read the following:
Menus and Popups
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make a book app, and to define or translate every sentence in it. The thing I want to know is how to make the translation appear as a pop up text for every single textview I click on it. For example "How are you" is in a textview and after I click and hold on it a pop up menu appear with the translate option.
It depend on how you want it to look. You could a toast, a context menu or a dialog.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Please guide me to create view similar to honeycomb gallery where user can select from the ListView Fragment from the right and the contents are displayed in the left side. I want to replace the content as and when item is clicked in the ListView Fragment.
Thanks
EDIT: Looks like you want to use Master/Detail Flow. Check this simple tutorial.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am making an android app. In this, on one layout I have many Edit texts and I have to fill data. On click of Edit text I want to open a layout having numeric keywords and give option to enter/fill data. On click of OK button in keyword layout I want to set data in that Edit text. Is it possible that we don't have to reload or refresh that activity???
you could use use dialog fragments for the keyboard layout. what are you using now?