Please see this: http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1/android/widget/ExpandableListView.java#201
mIndicatorLeft and mIndicatorRight are initialized from XML attributes and are used later here to draw the indicators: http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1/android/widget/ExpandableListView.java#290 The default values are: <item name="android:indicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item> <item name="android:indicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item> IIRC, those values can be referenced from from application XML files (i.e. they are not platform-private). -- Kostya 19 декабря 2011 г. 21:08 пользователь dashman <[email protected]> написал: > I've got an ExpandableListView (actually ExpandableListActivity) and > I'd like to position > an image/cion to the left of the default collapsed/expanded icon > indicator. > > I was able to do something - but the positioning is not right on > different > platforms. > > How does ExpandableListView determine where to position the icon and > what is it's dimensions. > > Help appreciated. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

