Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
671 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 Reply

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...