Thursday, March 6, 2014
android development imitation buy U.S. group drop-down menu at the top of the problem
https://github.com/yueyueniao2012/ExpandTabView
This is the project of Demo, there are nearly 1000 lines of code, I saw one week really do not understand, I had to learn C is also good, but now learn java and android is not familiar, this code appears to have a callback interface to listen, I want to do is buy the imitation of the U.S. group drop-down menu bar at the top of that, there are two menu level menu, then there is no need several secondary menu pops up, find the Great God can help you to add some detail the Demo comments so that I understand this novice ah, be grateful! ! ! ! ! ! ! ! ! !<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Code did not see it, but just like the inside wrote, is to use popupwindow do, specifically about pop too many examples, "if there is secondary menu pop-up menu, there are several secondary menu does not need" phrase did not understand the words, there is a secondary menu you? If yes, then you may need to add controls on demand in pop, and then modify the properties of both choose to hide and display animation, I understand, do not know and what you want is not the same as
Reply:
popupWindow not too much to understand, I am now a basis for android will know, there are not any useful way to understand. I want to put listview in popupWindow, the secondary level are, however, there are menu items do not need the secondary menu, such as "All", for example, require secondary menu of "gourmet" menu is displayed on the need for secondary "Western", "fast food", etc., but I'm not quite sure that this code how to write this demand listening.
Reply:
This I feel no need to use listview to achieve, you can achieve with ExpandeList
Reply:
Chou Chou visual LZ or first base for good
Reply:
This is a top menu bar, and Baidu buy the top menu bar, as with ExpandeList then I think the use of information displayed in the middle of doing a more appropriate point.
Reply:
I mean, you look ExpandeList custom can be achieved on the secondary menu pop
Reply:
I do not say anything else, I hope what you want http://code.eoe.cn/169
Reply:
http://http :/ / 110.96.192.9:82 / 1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/code.eoe.cn/169/617cbd20dd093a6465d14fd576ab7d366785a5f2/blob/33511a0ddd64dc4ffb28f7698e67bf4d0b021498/PopupWindowDemo.rar
Reply:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment