Hi I want to make a menu like
in first it shows a list like in drawer layout.
when i click on any item the list should populate in right side. in this case both parent and right side list visible.
if i click on any item of right side list then it should again populate in right side.
In this way i want to populate menu upto three level.
i want to show like when we open menu inside window 7 or like in window xp.
if anyone have any clue then please help. i can not post the image because my reputation is below 10.
Thanks in advance.
I have resolved my problem myself.
Now i use three fragment inside a linear layout. on click on first list item i load the second list fragment and on click on second list item i load a third listfragment.
Related
The attached UI is the calllog. What i am interested is that how the horizontal menu is implemented. When click on one list item, it appeared in one line under the list item.
In the earlier android, one click on list item, we can use Context menu popup menu to show the available action to do.
I am curious that it is using expandable list view concept?
I want to design like that when click on list item to show like this, but my layout would not be the same as this one. I want to put custom layout depending on the list item type. It may include button, textview, other widgets and the layout height will not be the list item height.
Can someone give some suggestion? Thanks a lot.
Hello I am new in Android, I am looking for create menu.
I am using this one popular menu guide.
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
Menu Aim :
At top Userinformation incase already logged in or Login/Register button if not login at bottom I use ListView. Is there anyway I can put first row as userinformation row and rest with menu item.
Please check attach screen source.
Thanks in advance.
:)
For your requirement, you don't need ListView with mixed type rows. You can simply use header and footer view for ListView by calling list.addHeaderView(view) and list.addFooterView(view).
The whole top pannel can be your list header. Checkout this example
ListView Header in Android
Hello i have problem with button not updating,
I had used sample search , when user search any word ,
I had placed star button in right aligned in
I means to say suppose i search something and list view opens and at right star bookmark is there so on click it must show.
You can't get any useful replies without posting your source code.
i am using list view to store date in sqlite database. In that the driver taking one trip.In that trip contain number of stops( Delivery, Begining of break, End of break, Begining of lunch, End of lunch, End of Trip). If i add the Begining of trip, all other stops will be added inside the trip,,,,, until the end of the trip......
Problem is
I have 2 pages first page having some listview.when i click the first row of the listview it show another set of listview in 2nd page. so each row in the main listview(1st page) have corresponging set of sub listview(2nd page) in the secong page.
All the stops are showing in the same page... any one help for my problem
I got the point regarding your problem. I think you want to have listview where you click on any trip item from trip listview and it display sub-items related with clicked item.
If my above assumption is right, then you should implement ExpandableListView.
Here are the examples which you can refers to and get more idea:
http://coderzheaven.com/index.php/2011/04/expandable-listview-in-android-using-simpleexpandablelistadapter-a-simple-example/
http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
Problem is I have 2 pages first page having some listview.when i click the first row of the listview it show another set of listview in 2nd page. so each row in the main listview(1st page) have corresponging set of sub listview(2nd page) in the secong page.
In your case you have to use ExpandableListView
check below below links, hope it will help you!
How to use ExpandableListView
Custom Expandable Listview
Android Expandable ListView simple Example in android.
How to create a custom ExpandableListView
Android-SlideExpandableListView
I want to display a list item that says "More" at the end of my ListView. Clicking on this list-item will perform some action. How can I create this "more" list item?
I don't know about the "Clicking on this list-item will perform some action" part. The typical pattern is that once the user scrolls to the bottom, new material is loaded automatically. Some people do that by detecting the scroll. I do it by putting in a "More" placeholder and detecting when that is used. Here is a component that implements this pattern.
Just add another value to your arrayadapter (or any other adapter), you might be using.set the text to 'more' .
Suppose you have n items in the list then handle the (n+1)th postion click and do your stuff.
You can add a footer to your listview...
Did you check this post out?
Android ListView Footer View not being placed on the bottom of the screen