commit | 3e5e6aced9848d1ce09082c72ba5cc422064d8ea | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Mon Feb 28 21:55:52 2011 -0800 |
committer | Adam Powell <adamp@google.com> | Mon Feb 28 21:57:42 2011 -0800 |
tree | 80763be834b6072959cbaea6520039626ad1cd7e | |
parent | f37fccd9d867af5c1ea1770dea64e600fda04500 [diff] [blame] |
Fix bug 3497341 - take list padding into account when drawing ExpandableListView indicators Change-Id: Idf4d4f28f495a453b871ac7dbe7059f38812ff87
diff --git a/core/java/android/widget/ExpandableListView.java b/core/java/android/widget/ExpandableListView.java index 8279ee5..f862368 100644 --- a/core/java/android/widget/ExpandableListView.java +++ b/core/java/android/widget/ExpandableListView.java
@@ -299,6 +299,9 @@ indicatorRect.right = mIndicatorRight; } + indicatorRect.left += mPaddingLeft; + indicatorRect.right += mPaddingLeft; + lastItemType = pos.position.type; }