On ExpandableListViews Again

by Michael » Fri, 14 Jan 2011 21:35:34 GMT


Sponsored Links
 Hi All,

So I have this issue with ExpandableListViews I don't quite
understand. I'm having the exact issue as this person almost a year
ago but I'm seeing the solution is not really clear:




Re: On ExpandableListViews Again

by TreKing » Sat, 15 Jan 2011 09:31:35 GMT


 



Just a guess, see if this helps:
 http://developer.android.com/reference/android/view/ViewGroup.html #setDescendantFocusability(int)

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:41:12 GMT


 Thanks TreKing,

I had a suspicion that it has to do with ViewGroup since it was being
passed into getGroupView. I was trying to use the ViewGroup parent
argument in the inflator too since its 2nd parameter was a ViewGroup
"root". And obviously I get a UnsupportedMethod exception. I shifted
my time away from this part to focus on other aspects of the project
but I'll definitely take a better look at the focusable aspects of
Views.






-- 



Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:44:55 GMT


 I take that back. Looks like I fixed the issue. I can have any view I
want. Thanks for your time.

~Michael






-- 



Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:45:02 GMT


 Hmmm, I came to the conclusion that a groupView can only contain
TextView type Views meaning stuffing a groupView with Buttons and
other items that are clickable is not advised or not possible. If this
is not true let me know. Right now I'm working around this issue by
making a bunch of TextViews in my convertView for getGroupView and I'm
able to ID them through onGroupClick.

~Michael






-- 



Other Threads

1. Complains of shrinking font sizes

Hello,

I have an application on the Android Market called My Collection Pro.
I am getting complaints from my post Android 2.0 users (Droid, etc)
that when the close and re-open the app, the font keeps getting
smaller.

I build my application in the 1.5 API to have the highest number of
supported phones.  If the users rotate the phone to cause the app to
restart it goes back to the original font.

I am unable to reproduce this in the emulator and on my G1.

Any ideas or suggestions?  My resource layouts are really straight-
forward and I leave font at system default (i.e., I don't specify
anything)...

-- 

2. JVM tool interface support? in android vm - I want to register get/set hooking callback function at my class

I release a class.
In the class, there are public fields that can be written.

I want to register the callback function which will be called right
after my field is accessed.

I think I can do that by using JVM tool interface which is supposed to
be used for a de{*filter*} software.
JVM tool interface:  http://www.***.com/ 
 http://www.***.com/ #fieldWatch

I'm not sure same interface is working on android.
or, They provide another form of interface to get a notification of a
field access.

Thanks in advance.
19.

-- 

3. Unable to reject the incoming call

4. 3

5. Getting Bitmap of all the Views in ViewFlipper?

6. Need Help for Storing the Values

7. Announcing RoboGuice 1.0