• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
crispy bacon. crispy tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!