Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
649 views
in Technique[技术] by (71.8m points)

Click on item to appear another item Android

im new to this forum and new to android, i'm doing a project on my school and i need some help here, since im new to android i wanna know what type of component i should use to show those dropdown lists(Where it says Projeto 1, etc...). And after i click on the project it expands and creates another compenent (listview?) which shows the members associated with that project: Project Page

And when i click on the icon/button near Peter Parker it changes it fragment to this view which is a form that assigns a ranking to a person after applying it: Ranking Page

Im sorry if my english is bad, i'm portuguese and i'm new to programming. Thanks for viewing my post and awsnering.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

i think you are trying to get a expandable listview if yes

here it will be like

List<String> Colors = new ArrayList<String>();
    Colors.add("Red");
    Colors.add("Green");
    Colors.add("Blue");
    Colors.add("Maroon");
    Colors.add("Yellow");
    Colors.add("Violet");
    Colors.add("Pink");

here colors is a category where in if you click it will expand further

for more details visit this link


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...