• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Android Action bar list navigation Help needed  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have been trying to develop a ListNavigation drop down in action bar.There are 2 drop downs in the action bar.
jm.For Some Reason , i am not able to get image displayed in the post , please click on the image icon and the image will displayed.

Now i want to display a unique TextView for each spinner selections.
like If User selects "Fragment1" from left dop down and "one" from right drop down ,a bulleted list of items will go in a textview
IF user selects "Fragment 1" from left drop down and "two from right drop down , another bulleted list of items will be displayed in textview.

Basically i am using "left drop down" as main menu and "right drop down" as sub-menu to display a text mainly bulleted lists.

Now i am able to get the GUI but i am bit puzzled as to how as to how i can implement this .



Here is the code for Main Activity.


Here is the code for fragments



Here is the XML layout for each frag.


IF you want the complete project zip , please let me know and i will provide it for you.thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!